[package]
name = "multi-cid"
version = "0.1.0"
edition = "2021"
rust-version = "1.85"
authors = ["Dave Grantham <dwg@linuxprogrammer.org>"]
description = "Content Identifier (CID) implementation compatible with IPFS and IPLD"
repository = "https://github.com/cryptidtech/multi-cid.git"
readme = "README.md"
license = "Apache-2.0"
keywords = ["cid", "content-identifier", "ipfs", "ipld", "multiformats"]
categories = ["cryptography", "encoding"]
[features]
default = ["serde", "dag_cbor"]
dag_cbor = ["dep:multi-cbor", "multi-cbor/tags"]
[dependencies]
multi-base = { version = "1.0", default-features = false }
multi-codec = "1.1"
multi-hash = "1.0"
multi-trait = { version = "1.0.5", default-features = false }
multi-util = "1.1"
thiserror = "2.0"
serde = { version = "1.0", default-features = false, features = [
"alloc",
"derive",
], optional = true }
multi-cbor = { version = "0.1", optional = true }
[dev-dependencies]
criterion = "0.8"
hex = "0.4"
multi-cbor = "0.1"
proptest = "1.4"
serde_json = "1.0"
serde_test = "1.0"
[[bench]]
name = "multicid_bench"
harness = false
path = "benches/multicid_bench.rs"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = { level = "allow", priority = 1 }