/
Cargo.toml
44 lines (40 loc) · 1.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
[package]
name = "pliantdb-server"
version = "0.1.0-dev.3"
authors = ["Jonathan Johnson <jon@khonsulabs.com>"]
edition = "2018"
description = "Database server for PliantDb."
repository = "https://github.com/khonsulabs/pliantdb"
license = "MIT OR Apache-2.0"
keywords = ["document-database", "database"]
categories = ["database-implementations"]
readme = "../README.md"
homepage = "https://pliantdb.dev/"
[features]
default = ["full"]
full = ["cli", "websockets", "pubsub", "keyvalue"]
cli = ["structopt"]
test-util = ["pliantdb-core/test-util"]
websockets = ["pliantdb-core/websockets", "tokio-tungstenite", "bincode"]
pubsub = ["pliantdb-core/pubsub", "pliantdb-local/pubsub"]
keyvalue = ["pliantdb-core/keyvalue", "pliantdb-local/keyvalue"]
[dependencies]
pliantdb-core = { path = "../core", version = "0.1.0-dev.3", default-features = false, features = ["networking"] }
pliantdb-local = { path = "../local", version = "0.1.0-dev.3", default-features = false, features = ["internal-apis"] }
pliantdb-jobs = { path = "../jobs", version = "0.1.0-dev.3" }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
thiserror = "1"
async-trait = "0.1"
structopt = { version = "0.3", optional = true }
anyhow = "1"
futures = "0.3"
flume = "0.10"
itertools = "0.10"
tokio-tungstenite = { version = "0.14", optional = true }
bincode = { version = "1", optional = true }
cfg-if = "1"
[dev-dependencies]
pliantdb-core = { path = "../core", version = "0.1.0-dev.3", default-features = false, features = ["test-util"] }
[package.metadata.docs.rs]
all-features = true