borderless-runtime 0.5.0

Definition of the webassembly runtime for borderless smart-contracts and software-agents
Documentation
[package]
name = "borderless-runtime"
version = "0.5.0"
edition = "2021"
description = "Definition of the webassembly runtime for borderless smart-contracts and software-agents"
authors = [ "Christian Hammermeister <c.hammermeister@borderless-technologies.com>" ]
repository = "https://github.com/borderless-tech/borderless"
homepage = "https://borderless-technologies.com/"
license-file = "../../LICENSE"

[dependencies]
borderless.workspace = true
borderless-kv-store.workspace = true
nohash = "0.2.0"
log = { workspace = true, optional = true }
postcard.workspace = true
rand.workspace = true
serde.workspace = true
wasmtime = "30"
bytes = "1"
http = { version = "1", optional = true }
tower = { version = "0.5", optional = true }
serde_json.workspace = true
parking_lot = "0.12"
mime = { version = "0.3", optional = true }
ahash = { version = "0.8", optional = true }
lru = { version = "0.14", optional = true }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"], optional = true }
serde_bytes.workspace = true
thiserror.workspace = true
tokio = { version = "1", features = ["macros"], optional = true }
tokio-tungstenite = { version = "0.26.2", features = ["rustls"], optional = true }
tracing = { version = "0.1", optional = true }
futures-util = "0.3.31"
xxhash-rust.workspace = true

[dev-dependencies]
tempfile = "3.14.0"
borderless = { workspace = true, features = [ "generate_ids" ]}

[features]
default = [ "http", "contracts", "agents" ] # for now we enable all features by default
contracts = [ "code-store" ]
agents = [ "code-store", "dep:reqwest", "dep:tokio", "dep:tokio-tungstenite" ]
code-store = [ "dep:lru", "dep:ahash" ]
http = [ "dep:http", "dep:tower", "dep:mime" ]
tracing = [ "dep:tracing" ]
log = [ "dep:log" ]