Registry / other / anchor-attribute-event

anchor-attribute-event

JSON →
library1.0.2rscratesunverified

Anchor attribute macro for defining an event.

# Cargo.toml [dependencies] anchor-attribute-event = "1.0.2"
INSTALL
IMPORT
SIG · ANCHOR-ATTRIBUTE-E
A
anchor-attribute-event
otherrustv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

event
✓ use anchor_attribute_event::event;

Defines an Anchor event using the attribute macro.

use anchor_attribute_event::event; #[event] pub struct MyEvent { pub data: u64, } fn main() {}
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
anchor-attribute-event — cargo add anchor-attribute-event · libregistry