Skip to main content

Crate runite_proc_macros

Crate runite_proc_macros 

Source
Expand description

Procedural macros consumed through runite.

This crate provides the implementations for #[runite::main] and #[runite::test], the attribute macros re-exported by the runite crate. It is an implementation detail and is not intended to be used directly; depend on runite and invoke the macros as #[runite::main] / #[runite::test] instead.

Attribute Macrosยง

main
Marks fn main as the runite entry point.
test
Marks an async fn as a runite-driven test.