[package]
edition = "2024"
name = "alwith-api"
version = "0.1.8"
build = false
include = [
"Cargo.toml",
"src/**/*.rs",
"tests/**/*.rs",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ALwith from the app side: types of the alwith-runtime-v1 frame protocol, and (feature `client`) a Rust client over a Runtime child's stdio or any byte stream"
readme = false
license-file = "LICENSE"
repository = "https://github.com/nyssance/alwith-api"
[features]
client = [
"dep:log",
"dep:tokio",
]
default = ["client"]
runtime-contract-tests = ["client"]
[lib]
name = "alwith_api"
path = "src/lib.rs"
[[test]]
name = "runtime"
path = "tests/runtime.rs"
[dependencies.log]
version = "0.4"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.specta]
version = "2.0.0-rc.27"
features = [
"derive",
"serde_json",
]
[dependencies.specta-typescript]
version = "0.0.14"
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dev-dependencies.tempfile]
version = "3"