[build-dependencies.cfg_aliases]
version = "0.2.1"
[build-dependencies.rcgen]
version = "0.12.1"
[build-dependencies.tonic-build]
default-features = false
features = ["prost"]
version = "0.12"
[dependencies.anyhow]
version = "1.0.80"
[dependencies.async-trait]
version = "0.1.77"
[dependencies.bincode]
version = "1.3.3"
[dependencies.bytes]
version = "1.5.0"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.clap]
features = ["cargo", "derive", "env"]
version = "4"
[dependencies.dashmap]
version = "5.5.3"
[dependencies.ed25519-dalek]
default-features = false
features = ["batch", "fast", "serde", "zeroize"]
version = "2.1.1"
[dependencies.futures]
version = "0.3.30"
[dependencies.linera-base]
version = "0.13.0"
[dependencies.linera-chain]
version = "0.13.0"
[dependencies.linera-core]
default-features = false
version = "0.13.0"
[dependencies.linera-execution]
default-features = false
version = "0.13.0"
[dependencies.linera-storage]
default-features = false
version = "0.13.0"
[dependencies.linera-version]
version = "0.13.0"
[dependencies.prometheus]
optional = true
version = "0.13.3"
[dependencies.prost]
version = "0.13.2"
[dependencies.rand]
default-features = false
version = "0.8.5"
[dependencies.serde]
features = ["derive"]
version = "1.0.197"
[dependencies.thiserror]
version = "1.0.65"
[dependencies.tokio]
version = "1.36.0"
[dependencies.tokio-util]
features = ["codec"]
optional = true
version = "0.7.10"
[dependencies.tonic-health]
optional = true
version = "0.12"
[dependencies.tonic-reflection]
optional = true
version = "0.12"
[dependencies.tower]
version = "0.4.13"
[dependencies.tracing]
features = ["release_max_level_debug"]
version = "0.1.40"
[dev-dependencies.insta]
features = ["yaml"]
version = "1.36.1"
[dev-dependencies.proptest]
default-features = false
features = ["alloc"]
version = "1.4.0"
[dev-dependencies.serde-reflection]
version = "0.3.6"
[dev-dependencies.test-strategy]
version = "0.3.1"
[features]
metrics = ["prometheus", "linera-base/metrics", "linera-chain/metrics", "linera-core/metrics", "linera-execution/metrics", "linera-storage/metrics"]
server = ["tokio-util", "tonic-health", "tonic-reflection"]
simple-network = ["tokio-util/net"]
test = ["linera-base/test", "linera-chain/test", "linera-core/test", "linera-execution/test", "linera-storage/test"]
web = ["linera-base/web", "linera-chain/web", "linera-core/web", "linera-execution/web"]
web-default = ["web"]
[lib]
name = "linera_rpc"
path = "src/lib.rs"
[package]
authors = ["Linera <contact@linera.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
description = "RPC schemas and networking library for the Linera protocol."
documentation = "https://docs.rs/linera-rpc/latest/linera_rpc/"
edition = "2021"
homepage = "https://linera.dev"
license = "Apache-2.0"
name = "linera-rpc"
readme = "README.md"
repository = "https://github.com/linera-io/linera-protocol"
version = "0.13.0"
[package.metadata.cargo-machete]
ignored = ["prost"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tonic]
default-features = false
features = ["tls", "tls-webpki-roots", "prost", "codegen", "transport"]
version = "0.12"
[target.'cfg(target_arch = "wasm32")'.dependencies.tonic]
default-features = false
features = ["codegen", "prost"]
version = "0.12"
[target.'cfg(target_arch = "wasm32")'.dependencies.tonic-web-wasm-client]
version = "0.6.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.42"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "transport"
path = "tests/transport.rs"