Cargo Features
[dependencies]
codegame = { version = "0.8.0-alpha", default-features = false, features = ["rendering", "client-gen"] }
- default = rendering
-
The
rendering
feature is set by default whenevercodegame
is added without
somewhere in the dependency tree.default-features = false - rendering default = geng
-
Affects
codegame::RendererData
,codegame::CurrentRenderState
,codegame::RenderState
,codegame::Renderer
… - client-gen = heck, trans-gen
-
Affects
codegame::client_gen
…
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.
- geng rendering
-
Enables geng ^0.8.0-alpha
- trans-gen client-gen?
- heck client-gen?
-
Enables heck ^0.3