Cargo Features
[dependencies]
srs2dge = { version = "0.2.0", default-features = false, features = ["dynamic", "presets", "gizmos", "text", "res", "ecs"] }
[profile.release]
debug = true
- default = ecs, gizmos, presets, res, text
-
These default features are set whenever
srs2dge
is added without
somewhere in the dependency tree.default-features = false - dynamic = srs2dge-link-dynamic
- presets default
-
Enables presets of srs2dge-link-static
- gizmos default
-
Enables gizmos of srs2dge-link-static
- text default
-
Enables text of srs2dge-link-static
- res default
-
Enables res of srs2dge-link-static
- ecs default
-
Enables ecs of srs2dge-link-static
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.