conduit-derive 0.1.0

Derive macros for conduit-core: WireEncode, WireDecode.
Documentation
conduit-derive-0.1.0 has been yanked.

conduit-derive

Derive macros for conduit-core: WireEncode and WireDecode.

Part of the tauri-conduit workspace.

Usage

use conduit_derive::{WireEncode, WireDecode};

#[derive(WireEncode, WireDecode)]
struct MarketTick {
    timestamp: i64,
    price: f64,
    volume: f64,
    side: u8,
}

Supported field types: u8u64, i8i64, f32, f64, bool, Vec<u8>, String.

License

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