generated from al8n/template-rs
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
59 lines (51 loc) · 1.6 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
[package]
name = "memorable"
version = "0.1.1"
edition = "2021"
repository = "https://github.com/al8n/memorable"
homepage = "https://github.com/al8n/memorable"
documentation = "https://docs.rs/memorable"
description = "Lock-free, ordered and multiple version memory table for key-value databases."
license = "MIT OR Apache-2.0"
rust-version = "1.81"
keywords = ["memory-table", "mvcc", "memtable"]
categories = ["data-structures", "database-implementations", "development-tools", "no-std"]
[[bench]]
path = "benches/foo.rs"
name = "foo"
harness = false
[features]
default = ["unbounded", "bounded", "memmap"]
alloc = ["dbutils?/alloc", "skl?/alloc"]
std = ["crossbeam-skiplist-mvcc?/std", "dbutils?/std", "either/default"]
unbounded = ["std", "crossbeam-skiplist-mvcc"]
bounded = ["alloc", "dbutils", "skl"]
memmap = ["std", "skl/memmap"]
experimental = ["skl?/experimental"]
[dependencies]
crossbeam-skiplist-mvcc = { version = "0.2", optional = true, default-features = false }
dbutils = { version = "0.11", default-features = false, optional = true }
either = { version = "1", default-features = false }
ref-cast = "1"
skl = { version = "0.20", default-features = false, optional = true }
[dev-dependencies]
criterion = "0.5"
tempfile = "3"
[profile.bench]
opt-level = 3
debug = false
codegen-units = 1
lto = 'thin'
incremental = false
debug-assertions = false
overflow-checks = false
rpath = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(all_tests)',
] }