[package]
name = "bp7"
version = "0.8.0"
authors = ["Lars Baumgaertner <baumgaertner@cs.tu-darmstadt.de>"]
edition = "2018"
description = "Rust implementation of dtn bundle protocol 7 draft https://tools.ietf.org/html/draft-ietf-dtn-bpbis-31"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtn7/bp7-rs"
categories = ["encoding"]
readme = "README.md"
[profile.release]
lto = true
[dev-dependencies]
criterion = "0.3.4"
test-case = "1.1.0"
[[bench]]
name = "benchmark"
harness = false
[dependencies]
humantime = "2.1.0"
serde = { version = "1.0.123", features = ["derive"] }
serde_cbor = "0.11.1"
serde_json = "1.0.61"
serde_bytes = "0.11.5"
crc = "1.8.1"
derive_builder = "0.10.2"
thiserror = "1.0.23"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
instant = { version = "0.1.9", features = [ "now" ] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
nanorand = { version = "0.5.2", default-features = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
stdweb = "0.4.20"
nanorand = { version = "0.5.2", features = ["getrandom"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
instant = { version = "0.1.9", features = [ "stdweb", "now" ] }