Skip to main content

Crate conduit_derive

Crate conduit_derive 

Source
Expand description

Proc macros for conduit: #[derive(Encode, Decode)] for binary codecs and #[command] for Tauri-style named-parameter handlers.

Macros§

handler
Resolve a #[command] function name to its generated handler struct.

Attribute Macros§

command
Attribute macro that transforms a function into a conduit command handler.

Derive Macros§

Decode
Derive the Decode trait for a struct with named fields.
Encode
Derive the Encode trait for a struct with named fields.