# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "linera-rpc" version = "0.13.1" authors = ["Linera "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "RPC schemas and networking library for the Linera protocol." homepage = "https://linera.dev" documentation = "https://docs.rs/linera-rpc/latest/linera_rpc/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/linera-io/linera-protocol" [package.metadata.cargo-machete] ignored = ["prost"] [lib] name = "linera_rpc" path = "src/lib.rs" [[test]] name = "format" path = "tests/format.rs" [[test]] name = "transport" path = "tests/transport.rs" [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] version = "4" features = [ "cargo", "derive", "env", ] [dependencies.dashmap] version = "5.5.3" [dependencies.ed25519-dalek] version = "2.1.1" features = [ "batch", "fast", "serde", "zeroize", ] default-features = false [dependencies.futures] version = "0.3.30" [dependencies.linera-base] version = "0.13.1" [dependencies.linera-chain] version = "0.13.1" [dependencies.linera-core] version = "0.13.1" default-features = false [dependencies.linera-execution] version = "0.13.1" default-features = false [dependencies.linera-storage] version = "0.13.1" default-features = false [dependencies.linera-version] version = "0.13.1" [dependencies.prometheus] version = "0.13.3" optional = true [dependencies.prost] version = "0.13.2" [dependencies.rand] version = "0.8.5" default-features = false [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.thiserror] version = "1.0.65" [dependencies.tokio] version = "1.36.0" [dependencies.tokio-util] version = "0.7.10" features = ["codec"] optional = true [dependencies.tonic-health] version = "0.12" optional = true [dependencies.tonic-reflection] version = "0.12" optional = true [dependencies.tower] version = "0.4.13" [dependencies.tracing] version = "0.1.40" features = ["release_max_level_debug"] [dev-dependencies.insta] version = "1.36.1" features = ["yaml"] [dev-dependencies.proptest] version = "1.4.0" features = ["alloc"] default-features = false [dev-dependencies.serde-reflection] version = "0.3.6" [dev-dependencies.test-strategy] version = "0.3.1" [build-dependencies.cfg_aliases] version = "0.2.1" [build-dependencies.rcgen] version = "0.12.1" [build-dependencies.tonic-build] version = "0.12" features = ["prost"] default-features = false [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"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tonic] version = "0.12" features = [ "tls", "tls-webpki-roots", "prost", "codegen", "transport", ] default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.tonic] version = "0.12" features = [ "codegen", "prost", ] default-features = false [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"