[package]
edition = "2021"
name = "host-api"
version = "0.3.12"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transport-agnostic host API engine for Polkadot app runtimes (SCALE binary protocol)"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/paritytech/host-sdk"
[features]
tracing = ["dep:tracing"]
[lib]
name = "host_api"
path = "src/lib.rs"
[[test]]
name = "proptest_codec"
path = "tests/proptest_codec.rs"
[[test]]
name = "tracing_spans"
path = "tests/tracing_spans.rs"
[[test]]
name = "wasm"
path = "tests/wasm.rs"
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tracing]
version = "0.1"
features = ["std"]
optional = true
default-features = false
[dev-dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"std",
"registry",
]
default-features = false
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.proptest]
version = "1"