# 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.64" name = "multihash" version = "0.19.2" authors = [ "dignifiedquire ", "David Craven ", "Volker Mische ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of the multihash format" documentation = "https://docs.rs/multihash/" readme = "README.md" keywords = [ "multihash", "ipfs", ] license = "MIT" repository = "https://github.com/multiformats/rust-multihash" [lib] name = "multihash" path = "src/lib.rs" [[example]] name = "identity" path = "examples/identity.rs" [dependencies.arbitrary] version = "1.1.0" optional = true [dependencies.core2] version = "0.4.0" default-features = false [dependencies.parity-scale-codec] version = "3.0.0" features = ["derive"] optional = true default-features = false [dependencies.quickcheck] version = "1.0.3" optional = true [dependencies.rand] version = "0.8.5" features = ["small_rng"] optional = true [dependencies.serde] version = "1.0.116" optional = true default-features = false [dependencies.unsigned-varint] version = "0.8.0" default-features = false [dev-dependencies.arbitrary] version = "1.1.0" [dev-dependencies.hex] version = "0.4.2" [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde_json] version = "1.0.58" [dev-dependencies.serde_test] version = "1.0.160" [features] alloc = [] arb = [ "dep:quickcheck", "dep:rand", "dep:arbitrary", ] default = ["std"] scale-codec = ["dep:parity-scale-codec"] serde = ["dep:serde"] serde-codec = ["serde"] std = [ "unsigned-varint/std", "alloc", ]