# 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-views" version = "0.13.1" authors = ["Linera "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A library mapping complex data structures onto a key-value store, used by the Linera protocol" homepage = "https://linera.dev" documentation = "https://docs.rs/linera-views/latest/linera_views/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/linera-io/linera-protocol" [package.metadata.cargo-machete] ignored = ["getrandom"] [package.metadata.docs.rs] features = [ "scylladb", "rocksdb", "dynamodb", "test", ] targets = [ "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] [lib] name = "linera_views" path = "src/lib.rs" [[test]] name = "admin_tests" path = "tests/admin_tests.rs" [[test]] name = "hashable_tests" path = "tests/hashable_tests.rs" [[test]] name = "random_container_tests" path = "tests/random_container_tests.rs" [[test]] name = "store_tests" path = "tests/store_tests.rs" [[test]] name = "views_tests" path = "tests/views_tests.rs" [[bench]] name = "queue_view" path = "benches/queue_view.rs" harness = false [[bench]] name = "reentrant_collection_view" path = "benches/reentrant_collection_view.rs" harness = false [[bench]] name = "stores" path = "benches/stores.rs" harness = false [dependencies.anyhow] version = "1.0.80" [dependencies.async-graphql] version = "=7.0.2" [dependencies.async-lock] version = "3.3.0" [dependencies.async-trait] version = "0.1.77" [dependencies.aws-config] version = "1.1.7" optional = true [dependencies.aws-sdk-dynamodb] version = "1.16.0" optional = true [dependencies.aws-smithy-types] version = "1.1.7" optional = true [dependencies.bcs] version = "0.1.6" [dependencies.convert_case] version = "0.6.0" [dependencies.futures] version = "0.3.30" [dependencies.generic-array] version = "0.14.7" features = ["serde"] [dependencies.hex] version = "0.4.3" optional = true [dependencies.linera-base] version = "0.13.1" [dependencies.linera-views-derive] version = "0.13.1" [dependencies.linera-witty] version = "0.13.1" [dependencies.linked-hash-map] version = "0.5.6" [dependencies.prometheus] version = "0.13.3" [dependencies.rand] version = "0.8.5" features = ["small_rng"] default-features = false [dependencies.rocksdb] version = "0.21.0" optional = true [dependencies.scylla] version = "0.12.0" optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.sha3] version = "0.10.8" [dependencies.static_assertions] version = "1.1.0" [dependencies.tempfile] version = "3.10.1" [dependencies.thiserror] version = "1.0.65" [dependencies.tokio] version = "1.36.0" features = [ "rt", "sync", ] [dependencies.tracing] version = "0.1.40" features = ["release_max_level_debug"] [dependencies.trait-variant] version = "0.1.1" [dev-dependencies.criterion] version = "0.5.1" features = ["async_tokio"] default-features = false [dev-dependencies.rand] version = "0.8.5" default-features = false [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.tokio-test] version = "0.4.3" [build-dependencies.cfg_aliases] version = "0.2.1" [features] dynamodb = [ "aws-config", "aws-sdk-dynamodb", "aws-smithy-types", ] indexeddb = [ "indexed_db_futures", "wasm-bindgen", ] metrics = [ "dep:hex", "linera-base/metrics", "linera-views-derive/metrics", ] scylladb = ["scylla"] test = ["tokio/macros"] web = ["linera-base/web"] web-default = [ "web", "indexeddb", ] [target.wasm32-unknown-unknown.dependencies.indexed_db_futures] version = "0.4.1" optional = true [target.wasm32-unknown-unknown.dependencies.wasm-bindgen] version = "0.2.92" optional = true [target.wasm32-unknown-unknown.dependencies.web-sys] version = "0.3.69" features = ["console"] [target.wasm32-unknown-unknown.dev-dependencies.wasm-bindgen-test] version = "0.3.42"