Cargo Features

[dependencies]
pixelsrc = { version = "0.2.0", default-features = false, features = ["lsp", "wasm"] }
default = lsp

The lsp feature is set by default whenever pixelsrc is added without default-features = false somewhere in the dependency tree.

lsp default = tokio, tower-lsp

Affects pixelsrc::lsp

wasm = console_error_panic_hook, wasm-bindgen

Affects pixelsrc::wasm

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.

wasm-bindgen wasm?
console_error_panic_hook wasm?
tower-lsp lsp
tokio lsp