Expand description
Content Identifier (CID) wrapper and utilities
Provides CID generation, parsing, and multibase encoding/decoding support.
Modules§
- codec
- Common IPLD codec constants
Structs§
- CidBuilder
- CID builder for creating content identifiers
- Serializable
Cid - Serializable CID wrapper
Enums§
- Hash
Algorithm - Hash algorithm to use for CID generation
- Multibase
Encoding - Multibase encoding options for CID string representation
Traits§
- CidExt
- Extension trait for CID with additional encoding utilities
Functions§
- parse_
cid - Parse a CID from a multibase-encoded string with automatic base detection
- parse_
cid_ with_ base - Parse a CID from a multibase-encoded string and return the detected base
Type Aliases§
- Cid
- A Cid that contains a multihash with an allocated size of 512 bits.