-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
64 lines (49 loc) · 1.52 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
[package]
name = "vsdb"
version = "0.62.1"
authors = ["hui.fan@mail.ru"]
edition = "2021"
description = "A stuctured DB with some 'Git-like' features, mainly used in blockchain projects."
homepage = "https://github.com/rust-util-collections/vsdb"
repository = "https://github.com/rust-util-collections/vsdb/tree/master/wrappers"
keywords = ["git", "leveldb", "rocksdb", "version", "vcs"]
categories = ["database-implementations", "data-structures", "algorithms", "caching"]
license = "GPL-3.0"
[package.metadata.docs.rs]
features = ["vs", "extra_types"]
[dependencies]
serde = { workspace = true }
once_cell = { workspace = true }
parking_lot = { workspace = true }
bcs = { workspace = true, optional = true }
rmp-serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
ruc = { workspace = true }
vsdb_core = { workspace = true }
[dev-dependencies]
hex = "0.4.3"
criterion = "0.4.0"
rand = "0.8.5"
[features]
default = ["rocks_backend", "compress", "msgpack_codec"]
rocks_backend = ["vsdb_core/rocks_backend"]
parity_backend = ["vsdb_core/parity_backend"]
compress = ["vsdb_core/compress"]
serde_ende = []
msgpack_codec = ["serde_ende", "rmp-serde"]
json_codec = ["serde_ende", "serde_json"]
bcs_codec = ["serde_ende", "bcs"]
vs = ["vsdb_core/vs", "ruc/crypto"]
extra_types = ["vsdb_core/extra_types"]
# [[bench]]
# name = "basic"
# harness = false
# [[bench]]
# name = "versioned"
# harness = false
[[example]]
name = "derive_vs"
[[example]]
name = "web_server"
[[example]]
name = "blockchain_state"