generated from al8n/template-rs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
70 lines (59 loc) · 1.54 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
[package]
name = "dtlog"
version = "0.1.3"
edition = "2021"
repository = "https://github.com/al8n/dtlog"
homepage = "https://github.com/al8n/dtlog"
documentation = "https://docs.rs/dtlog"
description = "A log for tracking discard stats of multi-files databases."
license = "MIT OR Apache-2.0"
rust-version = "1.81.0"
keywords = ["log", "database", "discard", "stats", "lsm"]
categories = ["data-structures", "database-implementations", "development-tools", "no-std"]
[[bench]]
path = "benches/foo.rs"
name = "foo"
harness = false
[[example]]
path = "examples/ondisk.rs"
name = "ondisk"
required-features = ["memmap"]
[[example]]
path = "examples/anon.rs"
name = "anon"
required-features = ["memmap"]
[[example]]
path = "examples/no_std.rs"
name = "no_std"
required-features = ["alloc"]
[features]
default = ["memmap", "rarena-allocator/default"]
alloc = ["rarena-allocator/alloc"]
std = ["rarena-allocator/std"]
memmap = ["std", "rarena-allocator/memmap"]
[dependencies]
dbutils = { version = "0.9", default-features = false }
indexsort = "0.1"
rarena-allocator = { version = "0.4", default-features = false }
viewit = "0.1.5"
[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)',
] }