# 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 = "essential-node-db" version = "0.4.0" authors = ["Essential Contributions "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The Essential node database" homepage = "https://essential.builders/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/essential-contributions/essential-node" [package.metadata.docs.rs] all-features = true [lib] name = "essential_node_db" path = "src/lib.rs" [[test]] name = "create" path = "tests/create.rs" [[test]] name = "insert" path = "tests/insert.rs" [[test]] name = "pool" path = "tests/pool.rs" [[test]] name = "query" path = "tests/query.rs" [[test]] name = "subscribe" path = "tests/subscribe.rs" [[test]] name = "update" path = "tests/update.rs" [[test]] name = "util" path = "tests/util.rs" [dependencies.essential-hash] version = "0.7.0" [dependencies.essential-node-db-sql] version = "0.4.0" [dependencies.essential-node-types] version = "0.2.0" features = ["block-notify"] optional = true [dependencies.essential-types] version = "0.5.0" [dependencies.futures] version = "0.3.30" [dependencies.num_cpus] version = "1.16" optional = true [dependencies.rusqlite] version = "0.32" [dependencies.rusqlite-pool] version = "0.2.0" optional = true [dependencies.serde] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.39.2" features = ["full"] optional = true [dev-dependencies.essential-node-types] version = "0.2.0" [dev-dependencies.rusqlite-pool] version = "0.2.0" features = ["tokio"] [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1.39.2" features = ["full"] [dev-dependencies.uuid] version = "1.10.0" features = ["v4"] [features] default = ["pool"] pool = [ "essential-node-types", "essential-node-types/tokio", "num_cpus", "rusqlite-pool", "rusqlite-pool/tokio", "tokio", ]