Cargo Features
[dependencies]
pest = { version = "2.7.14", default-features = false, features = ["std", "pretty-print", "const_prec_climber", "miette-error", "memchr"] }
- default = memchr, std
-
These default features are set whenever
pest
is added without
somewhere in the dependency tree.default-features = false - std default miette-error?
-
Implements
std::error::Error
for theError
typeEnables thiserror ^1.0.37, std of ucd-trie
- pretty-print miette-error?
-
Enables the
to_json
function forPair
andPairs
Enables serde and serde_json
- const_prec_climber
-
Enable const fn constructor for
PrecClimber
- miette-error = pretty-print, std
-
Enable miette error
Enables miette and thiserror ^1.0.37
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.
- memchr default