-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (63 loc) · 1.7 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (63 loc) · 1.7 KB
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
[package]
name = "libmdbx"
version = "0.7.0"
edition = "2024"
license.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Idiomatic and safe MDBX wrapper."
documentation = "https://docs.rs/libmdbx"
readme = "README.md"
keywords = ["MDBX", "database", "storage-engine", "bindings"]
categories = ["database"]
[lib]
name = "libmdbx"
[workspace]
members = ["mdbx-sys"]
[workspace.package]
license = "Apache-2.0"
authors = ["Artem Vorotnikov <artem@vorotnikov.me>"]
homepage = "https://github.com/vorot93/libmdbx-rs"
repository = "https://github.com/vorot93/libmdbx-rs"
[dependencies]
arrayref = { version = "0.3", optional = true }
arrayvec = { version = "0.7", optional = true }
bytes = { version = "1", optional = true }
bitflags = "2"
ciborium = { version = "0.2", optional = true }
derive_more = { version = "2", features = [
"deref",
"deref_mut",
"display",
"from",
] }
impls = { version = "1", optional = true }
indexmap = "2"
libc = "0.2"
parking_lot = "0.12"
sealed = "0.7"
tempfile = { version = "3", optional = true }
thiserror = "2"
ffi = { package = "mdbx-sys", version = "=14.3.1", path = "./mdbx-sys" }
lifetimed-bytes = { version = "0.1", optional = true }
[dev-dependencies]
criterion = "0.8"
rand = "0.10"
rand_xorshift = "0.5"
serde = { version = "1", features = ["derive"] }
tempfile = "3"
[features]
bytes = ["dep:bytes"]
cbor = ["orm", "dep:ciborium"]
lifetimed-bytes = ["dep:lifetimed-bytes"]
orm = ["dep:arrayref", "dep:arrayvec", "dep:impls", "dep:tempfile"]
[[bench]]
name = "cursor"
harness = false
[[bench]]
name = "transaction"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]