# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "forest_cid" version = "0.3.0" authors = ["ChainSafe Systems "] description = "A Cid library used in Forest for the Filecoin protocol" license = "MIT OR Apache-2.0" repository = "https://github.com/ChainSafe/forest" [package.metadata.docs.rs] features = ["cbor", "json"] [dependencies.cid] version = "0.6" features = ["std"] default-features = false [dependencies.forest_json_utils] version = "0.1" optional = true [dependencies.generic-array] version = "0.14.4" [dependencies.integer-encoding] version = "2.1" default-features = false [dependencies.multibase] version = "0.9.0" [dependencies.multihash] version = "0.13" features = ["std", "blake2b", "derive"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_bytes] version = "0.12" optional = true package = "cs_serde_bytes" [dependencies.serde_cbor] version = "0.12" features = ["tags"] optional = true package = "cs_serde_cbor" [dev-dependencies.serde_json] version = "1.0" [features] cbor = ["serde", "serde_bytes", "serde_cbor"] json = ["serde", "forest_json_utils"]