-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (65 loc) · 1.67 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (65 loc) · 1.67 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
75
76
77
78
79
80
[package]
name = "spart"
version = "0.3.1"
description = "A collection of space partitioning tree data structures for Rust"
repository = "https://github.com/habedi/spart"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["quadtree", "kdtree", "r-tree", "octree", "spatial-index"]
authors = ["Hassan Abedi <hassan.abedi.t@gmail.com>"]
homepage = "https://github.com/habedi/spart"
documentation = "https://docs.rs/spart"
categories = ["data-structures", "algorithms"]
edition = "2021"
rust-version = "1.83.0"
resolver = "2"
[lib]
name = "spart"
path = "src/lib.rs"
[dependencies]
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", optional = true }
ordered-float = "5.0.0"
ctor = { version = "0.5.0", optional = true }
serde = { version = "1.0.209", features = ["derive"], optional = true }
bincode = { version = "1.3.3", optional = true }
[features]
default = []
serde = ["dep:serde", "dep:bincode"]
enable_log = ["tracing/log"]
setup_tracing = ["dep:tracing-subscriber", "dep:ctor"]
[dev-dependencies]
criterion = { version = "0.7.0", features = ["html_reports"] }
anyhow = "1.0.86"
bincode = "1.3.3"
spart = { path = ".", features = ["serde"] }
[[bench]]
name = "main"
harness = false
[profile.release]
strip = "symbols"
codegen-units = 1
lto = true
[profile.bench]
debug = true
[profile.test]
debug = true
[[example]]
name = "quadtree"
path = "examples/quadtree.rs"
[[example]]
name = "octree"
path = "examples/octree.rs"
[[example]]
name = "kdtree"
path = "examples/kdtree.rs"
[[example]]
name = "rtree"
path = "examples/rtree.rs"
[[example]]
name = "rstar_tree"
path = "examples/rstar_tree.rs"
[package.metadata.rustfmt]
max_width = 100
hard_tabs = false
tab_spaces = 4