Cargo Features
[dependencies]
sparkl3d-core = { version = "0.4.0", default-features = false, features = ["dim3", "f32", "serde-serialize", "cuda"] }
- default = dim3, f32
-
These default features are set whenever
sparkl3d-core
is added without
somewhere in the dependency tree.default-features = false - dim3 default
-
Affects
cuda::G2P2G_THREADS
,gpu_grid::NUM_CELL_PER_BLOCK
,gpu_grid::NUM_ASSOC_BLOCKS
,gpu_grid::NBH_SHIFTS
,gpu_grid::NBH_SHIFTS_SHARED
… - f32 default
- serde-serialize = serde
-
Enables serde-serialize of nalgebra ^0.32
- cuda = cust, cust_core
-
Enables cuda of nalgebra ^0.32
Affects
lib::cuda
,testbed_plugin::UserCudaCallback
,testbed_plugin::MpmTestbedPlugin.cuda_callbacks
,testbed_plugin::MpmTestbedPlugin.last_timing
…
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.