Skip to main content

Crate omnifs_sdk_macros

Crate omnifs_sdk_macros 

Source
Expand description

Proc macros for the omnifs provider SDK.

#[provider] processes a provider lifecycle impl block and stitches together handler modules declared in #[provider(mounts(...))].

Inside #[handlers] impl T { ... }, #[dir], #[file], #[treeref], #[bind], and reserved #[mutate] annotate methods that become path handlers. #[bind] dispatches into a typed subtree defined by #[subtree] impl B { ... }.

Macros§

mounts

Attribute Macros§

Config
bind
config
dir
file
handlers
mutate
provider
Attribute macro for omnifs provider impl blocks.
subtree
treeref