Registry / serialization / impl-serde

impl-serde

JSON →
library0.5.0rscratesunverified

Serde serialization support for uint and fixed hash.

# Cargo.toml [dependencies] impl-serde = "0.5.0"
INSTALL
IMPORT
SIG · IMPL-SERDE
I
impl-serde
serializationrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

impl_serde_for_uint
use impl_serde::impl_serde_for_uint;

Implements Serde serialization for a custom unsigned integer type.

use impl_serde::impl_serde_for_uint; impl_serde_for_uint!(MyUint, 32); fn main() { let val = MyUint::from(42u32); let json = serde_json::to_string(&val).unwrap(); println!("{}", json); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
impl-serde — cargo add impl-serde · libregistry