Documentation
[dependencies.arbitrary]
optional = true
version = "1.1.0"

[dependencies.core2]
default-features = false
version = "0.4"

[dependencies.multibase]
default-features = false
optional = true
version = "0.9.1"

[dependencies.multihash]
default-features = false
version = "0.19.0"

[dependencies.parity-scale-codec]
default-features = false
features = ["derive"]
optional = true
version = "3.0.0"

[dependencies.quickcheck]
optional = true
version = "1.0"

[dependencies.rand]
features = ["small_rng"]
optional = true
version = "0.8.5"

[dependencies.serde]
default-features = false
optional = true
version = "1.0.116"

[dependencies.serde_bytes]
optional = true
version = "0.11.5"

[dependencies.unsigned-varint]
default-features = false
version = "0.8.0"
[dev-dependencies.multihash-codetable]
default-features = false
features = ["digest", "sha2"]
version = "0.1.0"

[dev-dependencies.multihash-derive]
default-features = false
version = "0.9.0"

[dev-dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0.59"

[features]
alloc = ["dep:multibase", "core2/alloc", "multihash/alloc"]
arb = ["dep:arbitrary", "dep:quickcheck", "dep:rand", "multihash/arb"]
default = ["std"]
scale-codec = ["dep:parity-scale-codec", "multihash/scale-codec"]
serde = ["alloc", "dep:serde", "dep:serde_bytes", "multihash/serde"]
serde-codec = ["serde"]
std = ["alloc", "core2/alloc", "multihash/std", "unsigned-varint/std"]

[package]
authors = ["Friedel Ziegelmayer <dignifiedquire@gmail.com>"]
description = "CID in rust"
edition = "2021"
homepage = "https://github.com/multiformats/rust-cid"
keywords = ["ipld", "ipfs", "cid", "multihash", "multiformats"]
license = "MIT"
name = "cid"
readme = "README.md"
rust-version = "1.60"
version = "0.11.1"