Cargo Features
[dependencies]
ad-astra = { version = "1.0.0", default-features = false, features = ["export", "lsp", "shallow"] }
- default = export, lsp
-
These default features are set whenever
ad-astra
is added without
somewhere in the dependency tree.default-features = false - export default shallow?
-
Enables export of ad-astra-export
- lsp default = lsp-types, serde, serde_json, syslog
-
Affects
ad-astra::server
… - shallow = export
-
Enables shallow of ad-astra-export
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.
- lsp-types lsp
- serde lsp
- serde_json lsp
- syslog not wasm lsp
-
Enables syslog ^6.1