wasmbus-rpc 0.11.2

Runtime library for actors and capability providers
Documentation
[package]
name = "wasmbus-rpc"
version = "0.11.2"
authors = [ "wasmcloud Team" ]
license = "Apache-2.0"
description = "Runtime library for actors and capability providers"
homepage = "https://github.com/wasmcloud/weld"
repository = "https://github.com/wasmcloud/weld"
documentation = "https://docs.rs/wasmbus-rpc"
readme = "README.md"
edition = "2021"
# MSRV
rust-version = "1.64"

# don't push build.rs
exclude = [ "build.rs" ]

[features]
default = [ ]
BigInteger = [ "num-bigint" ]
BigDecimal = [ "bigdecimal" ]
metrics = [ "prometheus" ]
otel = ["opentelemetry", "tracing-opentelemetry", "opentelemetry-otlp"]

[dependencies]
async-trait = "0.1"
base64 = "0.13"
bytes = "1.1.0"
cfg-if = "1.0"
minicbor = { version = "0.17.1", features = ["std"] }
rmp-serde = "1.1.0"
serde_bytes = "0.11"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
time = "0.3.16"
toml = "0.5"
tracing = { version = "0.1.34", features = ["log"] }
tracing-futures = "0.2"
wasmbus-macros = { path = "../macros", version = "0.1.11" }
minicbor-ser = "0.1.2"

# BigInteger support
num-bigint = { version = "0.4", optional = true }
# BigDecimal support
bigdecimal = { version = "0.3", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-nats = "0.23.0"
atty = "0.2"
data-encoding = "2.3"
futures = "0.3"
lazy_static = "1.4"
nkeys = "0.2"
once_cell = "1.8"
opentelemetry = { version = "0.17", features = ["rt-tokio"], optional = true }
opentelemetry-otlp = { version = "0.10", features = ["http-proto", "reqwest-client"], optional = true }
prometheus = { version = "0.13", optional = true }
sha2 = "0.10.2"
tokio = { version = "1", features = ["full"] }
tracing-opentelemetry = { version = "0.17", optional = true }
tracing-subscriber = { version = "0.3.7", features = ["env-filter", "json"] }
uuid = { version = "1.0", features = ["v4", "serde"] }
wascap = "0.8.0"

[dev-dependencies]
anyhow = "1.0.66"
regex = "1"
clap = { version = "4.0.22", features = ["derive"] }
test-log = { version = "0.2.10", default-features = false, features = ["trace"] }

[build-dependencies]
weld-codegen = { version = "0.6.0", path = "../codegen" }