forked from svenstaro/bvh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (36 loc) · 905 Bytes
/
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
[package]
name = "bvh"
description = "A fast BVH using SAH"
version = "0.6.0"
edition = "2018"
authors = [
"Sven-Hendrik Haase <svenstaro@gmail.com>",
"Alexander Dmitriev <alexander.dmitriev2580@gmail.com>"
]
readme = "README.md"
repository = "https://github.com/svenstaro/bvh"
documentation = "https://docs.rs/crate/bvh"
keywords = ["bvh", "bounding", "volume", "sah", "aabb"]
license = "MIT"
[dependencies]
approx = "0.5"
rand = "0.8"
log = "0.4"
num = "0.4"
glam = "0.20"
serde = { optional = true, version = "1", features = ["derive"] }
[dev-dependencies]
proptest = "1.0"
obj-rs = "0.7"
float_eq = "0.7"
criterion = "0.3"
[features]
bench = []
# Unfortunately can't use "serde" as the feature name until https://github.com/rust-lang/cargo/issues/5565 lands
serde_impls = ["serde", "glam/serde"]
[profile.release]
lto = true
codegen-units = 1
[profile.bench]
lto = true
codegen-units = 1