-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (39 loc) · 1.07 KB
/
Cargo.toml
File metadata and controls
45 lines (39 loc) · 1.07 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
[package]
name = "range-tree-rs"
version = "0.2.2"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "A range tree implement for slab allocator"
keywords = ["collection"]
categories = ["data-structures", "no-std"]
homepage = "https://github.com/NaturalIO/range_tree"
[dependencies]
embed-collections = {version=">=0.8", features=["btree"], default-features=false}
num-traits = "0.2"
log = { version="0", optional=true}
[dev-dependencies]
criterion2 = { version = "3.0.2"}
captains-log = {version="0", features = ["ringfile"] }
log = { version="0"}
rstest = "0"
[features]
default = ["std"]
std = []
# enable log for dev
trace_log = ["dep:log", "embed-collections/trace_log"]
[package.metadata.docs.rs]
all-features = true
# enable features in the documentation
rustdoc-args = ["--cfg", "docsrs"]
[lints.clippy]
new_ret_no_self = "allow"
needless_range_loop = "allow"
type_complexity = "allow"
mut_from_ref = "allow"
transmute_ptr_to_ref = "allow"
len_without_is_empty = "allow"
new_without_default = "allow"
result_unit_err = "allow"
[[bench]]
name = "range_tree"
harness = false