Cargo Features
[dependencies]
trixy = { version = "0.4.0", default-features = false, features = ["build-binary", "parser", "types", "macros"] }
- default = macros, parser, types
-
These default features are set whenever
trixy
is added without
somewhere in the dependency tree.default-features = false - build-binary = anyhow, clap, macros, parser, pulldown-cmark, types
- parser default build-binary? macros types = convert_case, regex, thiserror
-
Affects
trixy::parser
… - types default build-binary? macros = convert_case, libc, log, parser, proc-macro2, quote, syn, thiserror
-
Affects
trixy::types
… - macros default build-binary? = convert_case, parser, prettyplease, proc-macro2, pulldown-cmark, quote, syn, types
-
Affects
trixy::macros
…
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.
- clap build-binary?
- convert_case macros parser types
- proc-macro2 macros types
- quote macros types
- syn macros types
- thiserror parser types
-
Enables thiserror ^1.0.61
- pulldown-cmark build-binary? macros
-
Enables pulldown-cmark ^0.11.0
- anyhow build-binary?
- prettyplease macros
-
Enables prettyplease
macros
- regex parser
-
Enables regex
parser
- libc types
-
Enables libc
types
- log types