Cargo Features
[dependencies]
csgrs = { version = "0.16.0", default-features = false, features = ["parallel", "f64", "f32", "chull-io", "stl-io", "dxf-io", "truetype-text", "hershey-text", "image-io", "metaballs", "hashmap", "sdf", "offset"] }
- default = chull-io, dxf-io, f64, hashmap, hershey-text, image-io, metaballs, offset, sdf, stl-io, truetype-text
-
These default features are set whenever
csgrs
is added without
somewhere in the dependency tree.default-features = false - parallel = rayon
-
Enables multithreading of geo ^0.29.3
- f64 default = parry3d-f64, rapier3d-f64
-
Affects
float_types::Real
,float_types::EPSILON
,float_types::PI
,float_types::FRAC_PI_2
,float_types::TAU
… - f32 = parry3d, rapier3d
-
Affects
float_types::Real
,float_types::EPSILON
,float_types::PI
,float_types::FRAC_PI_2
,float_types::TAU
… - chull-io default = chull
- stl-io default = stl_io
- dxf-io default = dxf
- truetype-text default = ttf-parser, ttf-utils
- hershey-text default = hershey
- image-io default = contour_tracing, image
- metaballs default = fast-surface-nets
-
Affects
csg::MetaBall
… - hashmap default = hashbrown
- sdf default = fast-surface-nets
- offset default = geo-buf
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.
- geo-buf offset
-
Enables geo-buf
straight-skeleton offsetting iOverlay can handle this in v2
- chull chull-io
- dxf dxf-io
- rapier3d-f64 f64
- rapier3d f32?
- parry3d-f64 f64
- parry3d f32?
- rayon parallel?
- stl_io stl-io
- image image-io
- contour_tracing image-io
- ttf-utils truetype-text
- ttf-parser truetype-text
-
Enables ttf-parser ^0.11.0
- hershey hershey-text
- fast-surface-nets metaballs sdf
- hashbrown hashmap