-
Notifications
You must be signed in to change notification settings - Fork 52
/
Cargo.toml
54 lines (46 loc) 路 1.84 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
[package]
name = "heed"
version = "0.12.1"
authors = ["Kerollmops <[email protected]>"]
description = "A fully typed LMDB wrapper with minimum overhead"
license = "MIT"
repository = "https://github.com/Kerollmops/heed"
keywords = ["lmdb", "database", "storage", "typed"]
categories = ["database", "data-structures"]
readme = "../README.md"
edition = "2021"
[dependencies]
bytemuck = "1.12.3"
byteorder = { version = "1.4.3", default-features = false }
heed-traits = { version = "0.7.0", path = "../heed-traits" }
heed-types = { version = "0.7.2", path = "../heed-types" }
libc = "0.2.139"
lmdb-master-sys = { version = "0.1.0", path = "../lmdb-master-sys" }
once_cell = "1.16.0"
page_size = "0.5.0"
serde = { version = "1.0.151", features = ["derive"], optional = true }
synchronoise = "1.0.1"
[dev-dependencies]
serde = { version = "1.0.151", features = ["derive"] }
bytemuck = { version = "1.12.3", features = ["derive"] }
tempfile = "3.3.0"
[target.'cfg(windows)'.dependencies]
url = "2.3.1"
[features]
# The `serde` feature makes some types serializable,
# like the `EnvOpenOptions` struct.
default = ["serde", "serde-bincode", "serde-json"]
# Use the provided version of LMDB instead of the one that is installed on the system.
vendored = ["lmdb-master-sys/vendored"]
# The NO_TLS flag is automatically set on Env opening and
# RoTxn implements the Sync trait. This allow the user to reference
# a read-only transaction from multiple threads at the same time.
sync-read-txn = []
# Enable the serde en/decoders for bincode or serde_json
serde-bincode = ["heed-types/serde", "heed-types/bincode"]
serde-json = ["heed-types/serde", "heed-types/serde_json"]
# serde_json features
preserve_order = ["heed-types/preserve_order"]
arbitrary_precision = ["heed-types/arbitrary_precision"]
raw_value = ["heed-types/raw_value"]
unbounded_depth = ["heed-types/unbounded_depth"]