[package]
name = "libipld"
version = "0.2.2"
authors = ["David Craven <david@craven.ch>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "library for dealing with ipld"
repository = "https://github.com/ipfs-rust/rust-ipld"
[dependencies]
async-std = { version = "1.5.0", features = ["attributes"] }
libipld-cbor = { version = "0.2.0", path = "dag-cbor", optional = true }
libipld-cbor-derive = { version = "0.2.0", path = "dag-cbor-derive", optional = true }
libipld-core = { version = "0.2.0", path = "core" }
libipld-json = { version = "0.2.0", path = "dag-json", optional = true }
libipld-macro = { version = "0.2.0", path = "macro" }
libipld-pb = { version = "0.2.0", path = "dag-pb", optional = true }
thiserror = "1.0.16"
[dev-dependencies]
criterion = "0.3.2"
proptest = "0.9.6"
model = "0.1.2"
[features]
default = ["dag-cbor", "derive"]
dag-cbor = ["libipld-cbor"]
dag-json = ["libipld-json"]
dag-pb = ["libipld-pb"]
derive = ["libipld-cbor-derive"]
all = ["dag-cbor", "dag-json", "dag-pb", "derive"]
[workspace]
members = [
"core",
"dag-cbor",
"dag-cbor-derive",
"dag-json",
"dag-pb",
"macro",
]
[profile.release]
debug = true
[[bench]]
name = "codec"
harness = false
[[bench]]
name = "store"
harness = false