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-shacl is added without default-features = false somewhere in the dependency tree.

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

Enables full of tokio

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.

rayon parallel
tokio async lsp?
futures async
futures-util async
tokio-stream async
tower-lsp lsp?

Enables tower-lsp

LSP server implementation (includes lsp-types)

tower lsp?

Enables tower

Service abstraction for LSP