Cargo Features
[dependencies]
oxirs-shacl = { version = "0.1.0-rc.2", default-features = false, features = ["core", "serde", "async", "parallel", "lsp"] }
- default = async, core, parallel
-
These default features are set whenever
oxirs-shaclis added withoutsomewhere in the dependency tree.default-features = false - core default
- sparql serde
- async default lsp? = futures, futures-util, tokio, tokio-stream
-
Affects
validation::async_engine,validation::distributed,validation::streaming… - parallel default = rayon
- lsp = async, tower, tower-lsp
-
tokio:
enable everything
Affects
oxirs-shacl::lsp,lsp::backend,lsp::completion,lsp::diagnostics,lsp::hover,lsp::semantic_tokens,lsp::server…Required by the shacl_lsp binary
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.