# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "cid-nostd" version = "0.12.0" authors = [ "Friedel Ziegelmayer ", "Karim Agha ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "CID in rust" readme = "README.md" keywords = [ "ipld", "ipfs", "cid", "multihash", "multiformats", ] license = "MIT" repository = "https://github.com/karim-agha/cid-nostd" [lib] name = "cid_nostd" path = "src/lib.rs" [[test]] name = "lib" path = "tests/lib.rs" [dependencies.arbitrary] version = "1.1.0" optional = true [dependencies.core2] version = "0.4" default-features = false [dependencies.multibase] version = "0.9.1" optional = true default-features = false [dependencies.multihash] version = "0.19.0" default-features = false [dependencies.parity-scale-codec] version = "3.0.0" features = ["derive"] optional = true default-features = false [dependencies.quickcheck] version = "1.0" optional = true [dependencies.rand] version = "0.8.5" features = ["small_rng"] optional = true [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.serde_bytes] version = "0.11" features = ["alloc"] optional = true default-features = false [dependencies.unsigned-varint] version = "0.8.0" default-features = false [dev-dependencies.multihash-codetable] version = "0.1.0" features = [ "digest", "sha2", ] default-features = false [dev-dependencies.multihash-derive] version = "0.9.0" default-features = false [dev-dependencies.serde_json] version = "1.0.59" features = ["alloc"] default-features = false [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", ]