Cargo Features
[dependencies]
sdml-generate = { version = "0.3.1", default-features = false, features = ["deps", "hl", "json", "s-expr"] }
- default = deps, hl, json, s-expr
-
These default features are set whenever
sdml-generate
is added without
somewhere in the dependency tree.default-features = false - deps default = text_trees
-
Affects
actions::deps
… - hl default = tree-sitter-highlight
-
Affects
actions::highlight
… - json default = serde_json
-
Affects
convert::json
… - s-expr default
-
Affects
convert::sexpr
…
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.
- serde_json json
-
Enables serde_json
optional-dependencies
- text_trees deps
- tree-sitter-highlight hl
-
Enables tree-sitter-highlight ^0.23