-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
91 lines (80 loc) · 2.67 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
87
88
89
90
[package]
name = "yedb"
version = "0.4.15"
authors = ["Serhij S. <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/alttch/yedb-rs"
description = "Rugged crash-free embedded and client/server key-value database"
readme = "README.md"
keywords = ["database", "server", "client", "key-value"]
autoexamples = false
[package.metadata.docs.rs]
features = ["client-sync", "client-async", "client-local-async", "client-busrt-async"]
[package.metadata.playground]
features = ["client-sync", "client-async", "client-local-async", "client-busrt-async"]
[lib]
name = "yedb"
path = "src/lib.rs"
[dependencies]
tokio = { version = "1.35.1", features = ["full"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_repr = "0.1.7"
serde_json = "1.0"
serde_yaml = "0.8.15"
serde_cbor = "0.11.1"
rmp-serde = "1.0.0"
rmpv = "0.4.6"
fs2 = "0.4.3"
lru = "0.7.1"
glob = "0.3.0"
lazy_static = "1.4.0"
regex = "1"
hex = "0.4.2"
log = "0.4.14"
fs_extra = "1.2.0"
openssl = "0.10.62"
#byteorder = "1.4.2"
jsonschema = { version = "0.17.1", features = [] }
reqwest = "0.11.23" # for jsonschema
syslog = { version = "6.1.0", optional = true }
chrono = { version = "0.4.31", optional = true }
colored = { version = "2.1.0", optional = true }
getch = { version = "0.3.1", optional = true }
prettytable-rs = { version = "0.10.0", optional = true }
simple-pool = { version = "0.0.17", optional = true }
bma-benchmark = { version = "0.0.20", optional = true }
busrt = { version = "0.4", optional = true, features = ["rpc", "ipc"] }
async-trait = { version = "0.1.51", optional = true }
clap = { version = "4.4.12", features = ["derive"], optional = true }
is-terminal = { version = "0.4.10", optional = true }
bumpalo = { version = "3.14.0", optional = true }
[features]
server = ["syslog", "chrono", "colored", "clap", "tokio", "bumpalo"]
cli = ["chrono", "colored", "clap", "prettytable-rs", "getch", "bma-benchmark", "tokio", "client-async", "client-busrt-async", "client-local-async", "is-terminal", "bumpalo"]
client-sync = []
client-async = ["tokio", "simple-pool", "async-trait"]
client-busrt-async = ["busrt", "client-async", "async-trait"]
client-local-async = ["tokio", "client-async", "async-trait"]
busrt-rpc = ["async-trait", "busrt"]
server-embed = ["tokio"]
openssl-vendored = ["openssl/vendored"]
[[bin]]
name = "yedb-server"
path = "src/yedb-server.rs"
required-features = ["server"]
[[bin]]
name = "yedb-cli"
path = "src/yedb-cli.rs"
required-features = ["cli"]
[[example]]
name = "embed"
path = "examples/embed.rs"
[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["client-sync"]
[profile.release]
strip = true
lto = true
codegen-units = 1