IC Wire derive
Optional schema projection for IC Wire. Prefer the coordinated re-export:
[]
= { = "0.30.0", = ["derive"] }
= { = "1", = ["derive"] }
The macro describes supported Serde layouts for the validated schema graph; Serde
remains the only Rust serialization implementation. Unsupported attributes fail
explicitly. Named/unit/newtype/tuple structs, ordinary enum variants, generics,
borrowed fields, symmetric field/variant renames, standard serde_bytes and
qualified IC Wire packed adapters are supported. Renamed dependencies use
#[wire(crate = "dependency_name")].
The same derive works on native and Wasm DTOs. It emits the same schema trait
implementation on both targets.
Requires Rust 1.100.0. The derive and runtime crate are released together.
See IC Wire for usage and qualification.
Licensed under the included Toko Studios Network Licence (LICENSE.md).