Cargo Features
[dependencies]
tree-sitter-c2rust = { version = "0.24.3", default-features = false, features = ["std", "wasm", "capi"] }
- default = std
-
The
std
feature is set by default whenevertree-sitter-c2rust
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables perf and std of regex, unicode of regex-syntax
- wasm = wasmtime-c-api
- capi = errno, libc
-
Affects
core_wrapper::core._ts_dup
,core_wrapper::core._ts_dup
,core_wrapper::core.ts_tree_print_dot_graph
,core_wrapper::core.ts_tree_print_dot_graph
,util::File
…
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.
- errno capi?
- libc capi?
- wasmtime-c-api wasm?
-
Enables wasmtime-c-api-impl ^25.0.2