Cargo Features
[dependencies]
bvh = { version = "0.10.0", default-features = false, features = ["simd", "bench", "serde", "rayon"] }
- default = rayon
-
The
rayon
feature is set by default wheneverbvh
is added without
somewhere in the dependency tree.default-features = false - simd
- bench
-
Affects
testbase::load_sponza_scene
,testbase::create_ray
,testbase::build_1200_triangles_bh
,testbase::build_12k_triangles_bh
,testbase::build_120k_triangles_bh
,testbase::intersect_list
,testbase::intersect_list_aabb
,testbase::intersect_bh
,testbase::intersect_n_triangles
,testbase::intersect_1200_triangles_bh
,testbase::intersect_12k_triangles_bh
,testbase::intersect_120k_triangles_bh
,testbase::build_1200_triangles_bh_rayon
,testbase::build_12k_triangles_bh_rayon
,testbase::build_120k_triangles_bh_rayon
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- rayon default
-
Affects
bounding_hierarchy::BoundingHierarchy.build_par
,bvh_impl::rayon_executor
,testbase::build_some_bh_rayon
,testbase::traverse_some_bh_rayon
,testbase::build_1200_triangles_bh_rayon
,testbase::build_12k_triangles_bh_rayon
,testbase::build_120k_triangles_bh_rayon
…