-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Cargo.toml
86 lines (80 loc) · 2.56 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "bonsaidb-server"
version = "0.1.0"
authors = ["Jonathan Johnson <jon@khonsulabs.com>"]
edition = "2021"
description = "Database server for BonsaiDb."
repository = "https://github.com/khonsulabs/bonsaidb"
license = "MIT OR Apache-2.0"
keywords = ["document-database", "database"]
categories = ["database-implementations"]
readme = "../../README.md"
homepage = "https://bonsaidb.io/"
[features]
default = ["full"]
full = ["cli", "websockets", "acme", "encryption", "password-hashing"]
cli = ["clap", "pem", "env_logger", "bonsaidb-local/cli"]
test-util = ["bonsaidb-core/test-util"]
websockets = [
"bonsaidb-core/websockets",
"tokio-tungstenite",
"bincode",
"base64",
"sha-1",
]
instrument = ["tracing", "pot/tracing"]
acme = ["async-acme", "pem"]
encryption = ["bonsaidb-local/encryption", "bonsaidb-core/encryption"]
password-hashing = [
"bonsaidb-local/password-hashing",
"bonsaidb-core/password-hashing",
]
included-from-omnibus = []
[dependencies]
bonsaidb-core = { path = "../bonsaidb-core", version = "0.1.0", default-features = false, features = [
"networking",
"actionable-traits",
"multiuser",
"included-from-server"
] }
bonsaidb-local = { path = "../bonsaidb-local", version = "0.1.0", default-features = false, features = [
"internal-apis",
"multiuser",
] }
bonsaidb-utils = { path = "../bonsaidb-utils", version = "0.1.0" }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
thiserror = "1"
async-trait = "0.1"
clap = { version = "3", optional = true, features = ["derive"] }
futures = "0.3"
flume = "0.10"
itertools = "0.10"
tokio-tungstenite = { version = "0.16", optional = true }
bincode = { version = "1", optional = true }
pot = "1.0.0"
fabruic = { version = "0.0.1-dev.5", features = ["dangerous"] }
cfg-if = "1"
pem = { version = "1", optional = true }
async-acme = { version = "0.3", optional = true, features = ["hyper_rustls"] }
rustls = "0.20"
tokio-rustls = { version = "0.23" }
parking_lot = "0.11"
hyper = { version = "0.14", optional = true }
sha-1 = { version = "0.10", optional = true }
base64 = { version = "0.13", optional = true }
tracing = { version = "0.1", optional = true, default-features = false, features = [
"attributes",
] }
log = "0.4"
signal-hook = "0.3"
env_logger = { version = "0.9", optional = true }
derive-where = "=1.0.0-rc.2"
async-lock = "2"
[dev-dependencies]
bonsaidb-core = { path = "../bonsaidb-core", version = "0.1.0", default-features = false, features = [
"test-util",
] }
anyhow = "1"
[package.metadata.docs.rs]
all-features = true