# 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-server" version = "0.5.0" authors = ["Jonathan Johnson "] description = "Database server for BonsaiDb." homepage = "https://bonsaidb.io/" readme = "./README.md" keywords = [ "document-database", "database", ] categories = ["database-implementations"] license = "MIT OR Apache-2.0" repository = "https://github.com/khonsulabs/bonsaidb" [package.metadata.docs.rs] features = ["full"] [dependencies.async-acme] version = "0.4.0" features = ["hyper_rustls"] optional = true [dependencies.async-lock] version = "2" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.21.0" optional = true [dependencies.bincode] version = "1" optional = true [dependencies.bonsaidb-core] version = "=0.5.0" features = [ "actionable-traits", "included-from-server", ] default-features = false [dependencies.bonsaidb-local] version = "=0.5.0" features = [ "internal-apis", "async", ] default-features = false [dependencies.bonsaidb-utils] version = "=0.5.0" [dependencies.cfg-if] version = "1" [dependencies.clap] version = "4.1.4" features = ["derive"] optional = true [dependencies.derive-where] version = "~1.2.0" [dependencies.env_logger] version = "0.10.0" optional = true [dependencies.fabruic] version = "0.1.0" features = ["dangerous"] [dependencies.flume] version = "0.11.0" [dependencies.futures] version = "0.3" [dependencies.hyper] version = "0.14" optional = true [dependencies.itertools] version = "0.11.0" [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "0.12.0" [dependencies.pem] version = "3.0.2" optional = true [dependencies.pot] version = "3.0.0" [dependencies.rustls] version = "0.21.6" [dependencies.serde] version = "1" features = ["derive"] [dependencies.sha-1] version = "0.10" optional = true [dependencies.signal-hook] version = "0.3" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.16.1" features = ["full"] [dependencies.tokio-rustls] version = "0.24.1" [dependencies.tokio-tungstenite] version = "0.20.0" optional = true [dependencies.tracing] version = "0.1" features = ["attributes"] optional = true default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.bonsaidb-core] version = "=0.5.0" features = ["test-util"] default-features = false [features] acme = [ "dep:async-acme", "pem", ] cli = [ "dep:clap", "pem", "dep:env_logger", "bonsaidb-local/cli", ] compression = ["bonsaidb-local/compression"] default = ["full"] encryption = [ "bonsaidb-local/encryption", "bonsaidb-core/encryption", ] full = [ "cli", "websockets", "acme", "encryption", "token-authentication", "password-hashing", "compression", ] included-from-omnibus = [] instrument = [ "dep:tracing", "pot/tracing", ] password-hashing = [ "bonsaidb-local/password-hashing", "bonsaidb-core/password-hashing", ] test-util = ["bonsaidb-core/test-util"] token-authentication = [ "bonsaidb-core/token-authentication", "bonsaidb-local/token-authentication", ] websockets = [ "bonsaidb-core/websockets", "dep:tokio-tungstenite", "dep:bincode", "dep:base64", "dep:sha-1", ]