# 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-base" version = "0.13.1" authors = ["Linera "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Base definitions, including cryptography, used by the Linera protocol." homepage = "https://linera.dev" documentation = "https://docs.rs/linera-base/latest/linera_base/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/linera-io/linera-protocol" [package.metadata.cargo-machete] ignored = [ "async-graphql-derive", "getrandom", "serde_bytes", ] [lib] name = "linera_base" path = "src/lib.rs" [[test]] name = "command_tests" path = "tests/command_tests.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.async-graphql] version = "=7.0.2" [dependencies.async-graphql-derive] version = "=7.0.2" [dependencies.async-trait] version = "0.1.77" [dependencies.base64] version = "0.22.0" [dependencies.bcs] version = "0.1.6" [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4.35" default-features = false [dependencies.custom_debug_derive] version = "0.6.1" [dependencies.ed25519-dalek] version = "2.1.1" features = [ "batch", "fast", "serde", "zeroize", ] default-features = false [dependencies.futures] version = "0.3.30" optional = true [dependencies.generic-array] version = "0.14.7" features = ["serde"] [dependencies.getrandom] version = "0.2.12" optional = true [dependencies.hex] version = "0.4.3" [dependencies.is-terminal] version = "0.4.12" [dependencies.linera-witty] version = "0.13.1" features = ["macros"] [dependencies.prometheus] version = "0.13.3" optional = true [dependencies.proptest] version = "1.4.0" features = [ "alloc", "alloc", ] optional = true default-features = false [dependencies.rand] version = "0.8.5" default-features = false [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde-name] version = "0.2.1" [dependencies.serde_bytes] version = "0.11.14" [dependencies.serde_json] version = "1.0.114" [dependencies.sha3] version = "0.10.8" [dependencies.test-strategy] version = "0.3.1" optional = true [dependencies.thiserror] version = "1.0.65" [dependencies.tokio] version = "1.36.0" features = ["time"] [dependencies.tracing] version = "0.1.40" features = ["release_max_level_debug"] [dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "json", "fmt", "ansi", ] default-features = false [dependencies.wasm-bindgen-futures] version = "0.4.42" optional = true [dependencies.wasm_thread] version = "0.3.0" optional = true [dependencies.wasmtimer] version = "0.2.0" optional = true [dependencies.web-time] version = "1.1.0" optional = true [dev-dependencies.linera-witty] version = "0.13.1" features = ["test"] [dev-dependencies.test-case] version = "3.3.1" [build-dependencies.cfg_aliases] version = "0.2.1" [features] metrics = ["prometheus"] test = [ "test-strategy", "proptest", ] web = [ "futures", "getrandom/js", "rand/getrandom", "rand/std", "rand/std_rng", "tracing-web", "wasmtimer", "wasm-bindgen-futures", "wasm_thread", "web-time", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.chrono] version = "0.4.35" default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.port-selector] version = "0.1.6" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.prometheus] version = "0.13.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand] version = "0.8.5" features = [ "getrandom", "std", "std_rng", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.36.0" features = [ "process", "rt-multi-thread", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd] version = "0.13.2" [target.'cfg(target_arch = "wasm32")'.dependencies.ruzstd] version = "0.7.1" [target.'cfg(target_arch = "wasm32")'.dependencies.tracing-web] version = "0.1.3" optional = true