Registry / serialization / rlp-derive

rlp-derive

JSON →
library0.2.0rscratesunverified

Derive macro for RLP encoding and decoding traits.

# Cargo.toml [dependencies] rlp-derive = "0.2.0"
INSTALL
IMPORT
SIG · RLP-DERIVE
R
rlp-derive
serializationrustv0.2.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.

RlpEncodable
✓ use rlp_derive::RlpEncodable;

Derives RlpEncodable for a struct, enabling RLP serialization.

use rlp_derive::RlpEncodable; #[derive(RlpEncodable)] struct Transaction { nonce: u64, gas_price: u64, } fn main() { let tx = Transaction { nonce: 1, gas_price: 20 }; // RLP encoding is derived automatically }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
rlp-derive — cargo add rlp-derive · libregistry