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