# 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" name = "bonsaidb-local" version = "0.5.0" authors = ["Jonathan Johnson "] description = "Local database storage for BonsaiDb." homepage = "https://bonsaidb.io/" readme = "./README.md" keywords = [ "document-database", "database", ] categories = [ "database-implementations", "database", ] license = "MIT OR Apache-2.0" repository = "https://github.com/khonsulabs/bonsaidb" [package.metadata.docs.rs] features = ["full"] [lib] [dependencies.argon2] version = "0.5.1" features = ["std"] optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.bincode] version = "1.3" [dependencies.bonsaidb-core] version = "=0.5.0" features = ["included-from-local"] [dependencies.bonsaidb-utils] version = "=0.5.0" [dependencies.byteorder] version = "1" [dependencies.chacha20poly1305] version = "0.10" optional = true [dependencies.clap] version = "4.1.4" features = ["derive"] optional = true [dependencies.crossterm] version = "0.27.0" optional = true [dependencies.derive-where] version = "~1.2.0" [dependencies.easy-parallel] version = "3.2.0" [dependencies.flume] version = "0.11.0" [dependencies.fs2] version = "0.4.3" [dependencies.futures] version = "0.3.19" optional = true [dependencies.hpke] version = "0.10" features = [ "p256", "serde_impls", ] optional = true default-features = false [dependencies.itertools] version = "0.11" [dependencies.lockedbox] version = "0.1.1" optional = true [dependencies.log] version = "0.4" [dependencies.lz4_flex] version = "0.11.1" optional = true [dependencies.nebari] version = "0.5.0" [dependencies.once_cell] version = "1" optional = true [dependencies.p256] version = "0.13.2" [dependencies.parking_lot] version = "0.12.0" [dependencies.pot] version = "3.0.0" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1" features = ["derive"] [dependencies.sysinfo] version = "0.29.4" default-features = false [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.16.1" features = ["full"] optional = true [dependencies.tracing] version = "0.1" features = ["attributes"] optional = true default-features = false [dependencies.transmog-versions] version = "0.1.0" [dependencies.watchable] version = "1.1.1" [dependencies.zeroize] version = "1" optional = true [dev-dependencies.anyhow] version = "1" [dev-dependencies.bonsaidb-core] version = "=0.5.0" features = ["test-util"] [dev-dependencies.fs_extra] version = "1.2.0" [dev-dependencies.futures] version = "0.3" [features] async = [ "dep:tokio", "dep:async-trait", "dep:futures", ] cli = [ "dep:clap", "dep:crossterm", ] compression = ["dep:lz4_flex"] default = ["full"] encryption = [ "bonsaidb-core/encryption", "dep:hpke", "dep:zeroize", "dep:lockedbox", "dep:chacha20poly1305", ] full = [ "cli", "encryption", "instrument", "token-authentication", "password-hashing", "compression", "async", ] included-from-omnibus = [] instrument = [ "pot/tracing", "nebari/tracing", "dep:tracing", ] internal-apis = [] password-hashing = [ "dep:argon2", "dep:zeroize", "dep:once_cell", "bonsaidb-core/password-hashing", ] token-authentication = ["bonsaidb-core/token-authentication"]