# 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-service" version = "0.13.1" authors = ["Linera "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Executable for clients (aka CLI wallets), proxy (aka validator frontend) and servers of the Linera protocol." homepage = "https://linera.dev" documentation = "https://docs.rs/linera-service/latest/linera_service/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/linera-io/linera-protocol" [lib] name = "linera_service" path = "src/lib.rs" [[bin]] name = "linera" path = "src/linera/main.rs" [[bin]] name = "linera-benchmark" path = "src/benchmark.rs" required-features = ["benchmark"] [[bin]] name = "linera-db" path = "src/database_tool.rs" [[bin]] name = "linera-proxy" path = "src/proxy/main.rs" [[bin]] name = "linera-schema-export" path = "src/schema_export.rs" [[bin]] name = "linera-server" path = "src/server.rs" [[test]] name = "linera_net_tests" path = "tests/linera_net_tests.rs" [[test]] name = "local_net_tests" path = "tests/local_net_tests.rs" [[test]] name = "readme_test" path = "tests/readme_test.rs" [[bench]] name = "transfers" path = "benches/transfers.rs" harness = false [dependencies.anyhow] version = "1.0.80" [dependencies.assert_matches] version = "1.5.0" [dependencies.async-graphql] version = "=7.0.2" [dependencies.async-graphql-axum] version = "=7.0.2" [dependencies.async-lock] version = "3.3.0" [dependencies.async-trait] version = "0.1.77" [dependencies.async-tungstenite] version = "0.22" features = ["tokio-runtime"] [dependencies.axum] version = "0.7.4" features = ["ws"] [dependencies.bcs] version = "0.1.6" [dependencies.cargo_toml] version = "0.19.2" [dependencies.chrono] version = "0.4.35" features = ["clock"] default-features = false [dependencies.clap] version = "4" features = [ "cargo", "derive", "env", ] [dependencies.clap-markdown] version = "0.1.3" [dependencies.colored] version = "2.1.0" [dependencies.comfy-table] version = "7.1.0" [dependencies.convert_case] version = "0.6.0" [dependencies.current_platform] version = "0.2.0" [dependencies.fs-err] version = "2.11.0" features = ["tokio"] [dependencies.fs_extra] version = "1.3.0" optional = true [dependencies.futures] version = "0.3.30" [dependencies.hex] version = "0.4.3" [dependencies.http] version = "1.1.0" [dependencies.k8s-openapi] version = "0.21.1" features = ["v1_28"] optional = true [dependencies.kube] version = "0.88.1" optional = true [dependencies.linera-base] version = "0.13.1" [dependencies.linera-chain] version = "0.13.1" [dependencies.linera-client] version = "0.13.1" features = ["fs"] [dependencies.linera-core] version = "0.13.1" default-features = false [dependencies.linera-execution] version = "0.13.1" features = ["fs"] default-features = false [dependencies.linera-rpc] version = "0.13.1" features = [ "server", "simple-network", ] [dependencies.linera-sdk] version = "0.13.1" optional = true [dependencies.linera-storage] version = "0.13.1" default-features = false [dependencies.linera-storage-service] version = "0.13.1" optional = true default-features = false [dependencies.linera-version] version = "0.13.1" [dependencies.linera-views] version = "0.13.1" default-features = false [dependencies.pathdiff] version = "0.2.1" optional = true [dependencies.port-selector] version = "0.1.6" [dependencies.prometheus] version = "0.13.3" optional = true [dependencies.prost] version = "0.13.2" [dependencies.rand] version = "0.8.5" default-features = false [dependencies.reqwest] version = "0.11.24" features = [ "rustls-tls", "json", ] default-features = false [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.stdext] version = "0.3.3" optional = true [dependencies.tempfile] version = "3.10.1" [dependencies.thiserror] version = "1.0.65" [dependencies.tokio] version = "1.36.0" features = ["full"] [dependencies.tokio-stream] version = "0.1.14" [dependencies.tokio-util] version = "0.7.10" [dependencies.toml] version = "0.8.10" [dependencies.tonic] version = "0.12" features = [ "transport", "tls", "tls-roots", ] default-features = false [dependencies.tonic-health] version = "0.12" [dependencies.tonic-reflection] version = "0.12" [dependencies.tonic-web] version = "0.12" [dependencies.tower] version = "0.4.13" [dependencies.tower-http] version = "0.5.2" features = ["cors"] [dependencies.tracing] version = "0.1.40" features = ["release_max_level_debug"] [dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "fmt", ] default-features = false [dev-dependencies.base64] version = "0.22.0" [dev-dependencies.criterion] version = "0.5.1" features = ["async_tokio"] default-features = false [dev-dependencies.linera-alloy] version = "0.1.0" features = ["rpc-types-eth"] default-features = false [dev-dependencies.linera-base] version = "0.13.1" features = ["test"] [dev-dependencies.linera-chain] version = "0.13.1" features = ["test"] [dev-dependencies.linera-client] version = "0.13.1" features = ["test"] [dev-dependencies.linera-core] version = "0.13.1" features = ["test"] default-features = false [dev-dependencies.linera-ethereum] version = "0.13.1" default-features = false [dev-dependencies.linera-execution] version = "0.13.1" features = ["test"] default-features = false [dev-dependencies.linera-rpc] version = "0.13.1" features = ["test"] [dev-dependencies.linera-sdk] version = "0.13.1" features = [ "wasmer", "test", ] [dev-dependencies.linera-storage] version = "0.13.1" features = ["test"] default-features = false [dev-dependencies.linera-views] version = "0.13.1" features = ["test"] default-features = false [dev-dependencies.prometheus] version = "0.13.3" [dev-dependencies.proptest] version = "1.4.0" features = ["alloc"] default-features = false [dev-dependencies.reqwest] version = "0.11.24" features = [ "rustls-tls", "json", ] default-features = false [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.test-log] version = "0.2.15" features = [ "trace", "trace", ] default-features = false [dev-dependencies.test-strategy] version = "0.3.1" [dev-dependencies.tokio] version = "1.36.0" features = [ "full", "test-util", ] [build-dependencies.cfg_aliases] version = "0.2.1" [features] benchmark = [ "linera-base/test", "linera-client/benchmark", "dep:linera-sdk", ] default = [ "wasmer", "rocksdb", "storage-service", ] dynamodb = [ "linera-client/dynamodb", "linera-views/dynamodb", "linera-core/dynamodb", ] ethereum = [] kubernetes = [ "linera-client/kubernetes", "dep:k8s-openapi", "dep:kube", "dep:pathdiff", "dep:fs_extra", ] metrics = [ "prometheus", "linera-base/metrics", "linera-client/metrics", ] remote-net = [ "dep:k8s-openapi", "dep:kube", ] rocksdb = [ "linera-client/rocksdb", "linera-views/rocksdb", "linera-core/rocksdb", ] scylladb = [ "linera-client/scylladb", "linera-views/scylladb", "linera-core/scylladb", ] storage-service = [ "linera-client/storage-service", "linera-storage-service", ] test = [ "linera-base/test", "linera-views/test", "linera-execution/test", "dep:stdext", ] wasmer = [ "linera-client/wasmer", "linera-execution/wasmer", "linera-storage/wasmer", ] wasmtime = [ "linera-client/wasmtime", "linera-execution/wasmtime", "linera-storage/wasmtime", ]