conduit-derive 0.2.0

Derive macros for conduit-core: Encode, Decode.
Documentation
conduit-derive-0.2.0 has been yanked.

conduit-derive

Crates.io docs.rs CI License

Derive macros for conduit-core: Encode and Decode.

Part of the tauri-conduit workspace.

Usage

use conduit_derive::{Encode, Decode};

#[derive(Encode, Decode)]
struct MarketTick {
    timestamp: i64,
    price: f64,
    volume: f64,
    side: u8,
}
// 25 bytes on the wire. No schema, no parsing.

Supported field types: u8-u64, i8-i64, f32, f64, bool, Vec<u8>, String.

See the workspace README for full documentation.

License

Licensed under either of MIT or Apache-2.0 at your option.