# 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" rust-version = "1.70.0" name = "nostr-database" version = "0.36.0" authors = [ "Yuki Kishimoto ", "Rust Nostr Developers", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Database for Nostr apps" homepage = "https://github.com/rust-nostr/nostr" readme = "README.md" keywords = [ "nostr", "database", ] license = "MIT" repository = "https://github.com/rust-nostr/nostr.git" [lib] name = "nostr_database" path = "src/lib.rs" [[example]] name = "helper" path = "examples/helper.rs" [[example]] name = "memory" path = "examples/memory.rs" [dependencies.async-trait] version = "0.1" [dependencies.flatbuffers] version = "23.5" optional = true [dependencies.lru] version = "0.12" [dependencies.nostr] version = "0.36" features = ["std"] default-features = false [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = ">=1.37" features = ["sync"] default-features = false [dependencies.tracing] version = "0.1" features = [ "std", "attributes", ] default-features = false [dev-dependencies.tokio] version = ">=1.37" features = [ "macros", "rt-multi-thread", "time", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" [features] default = [] flatbuf = ["dep:flatbuffers"]