# 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 = "2018" name = "sp-ipld" version = "0.2.0" authors = ["Samuel Burnham ", "John Burnham "] description = "IPLD library for `no_std` use within Substrate" documentation = "https://docs.rs/sp-ipld" readme = "README.md" keywords = ["ipld", "no_std"] categories = ["no-std"] license = "MIT" repository = "https://github.com/yatima-inc/sp-ipld" [dependencies.base64] version = "0.13" optional = true [dependencies.bytecursor] version = "0.1" [dependencies.byteorder] version = "1" optional = true default-features = false [dependencies.multibase] version = "0.9.1" optional = true default-features = false [dependencies.parity-scale-codec] version = "2.1.1" features = ["derive"] optional = true default-features = false [dependencies.serde] version = "1.0.116" features = ["alloc"] optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [dependencies.sp-cid] version = "0.2" [dependencies.sp-multihash] version = "0.2" optional = true [dependencies.unsigned-varint] version = "0.7.0" default-features = false [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.quickcheck_macros] version = "1.0.0" [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.reqwest] version = "0.11.3" features = ["multipart", "json"] [dev-dependencies.tokio] version = "1.5" features = ["rt", "macros", "rt-multi-thread"] [features] dag-cbor = ["multibase", "byteorder", "sp-multihash"] dag-json = ["serde", "base64", "sp-multihash"] default = ["dag-cbor", "dag-json"] std = []