Cargo Features
[dependencies]
refinement-types = { version = "0.3.0", default-features = false, features = ["std", "alloc", "serde", "regex", "diagnostics", "unsafe-assert"] }
- default = std
-
The
stdfeature is set by default wheneverrefinement-typesis added withoutsomewhere in the dependency tree.default-features = false - std default diagnostics? regex?
- alloc
- serde
-
Enables serde
- regex = std
-
Enables regex
Affects
refinement-types::type_regex,core::MismatchError,core::Matches… - diagnostics = std
-
Enables miette
- unsafe-assert