Registry / networking / cid
library0.11.3rscratesunverified

Content Identifier (CID) implementation in Rust for IPFS and other content-addressed systems.

# Cargo.toml [dependencies] cid = "0.11.3"
INSTALL
IMPORT
SIG · CID
C
cid
networkingrustv0.11.3
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.

Cid
use cid::Cid;

Creates a new CID with a raw codec and SHA256 multihash.

use cid::Cid; use multihash::Multihash; fn main() { let cid = Cid::new_v1(0x55, Multihash::wrap(0x12, &[0u8; 32]).unwrap()); println!("{}", cid); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
cid — cargo add cid · libregistry