Cargo Features
[dependencies]
protocheck-core = { version = "0.1.11", default-features = false, features = ["cel", "totokens", "ip", "uri", "bytes", "regex"] }
- default = bytes, cel, ip, regex, totokens, uri
-
These default features are set whenever
protocheck-coreis added withoutsomewhere in the dependency tree.default-features = false - cel default
-
Enables cel =0.11.0 and chrono and cel of proto-types
proto-types:
Enables conversions into cel::Value.
Affects
validators::cel… - totokens default
-
Enables proc-macro2, quote and totokens of proto-types
proto-types:
Enables ToTokens implementations.
- ip default
-
Enables ipnetwork
- uri default
-
Enables iri-string
- bytes default
-
Enables bytes
Affects
constants::bytes_const,validators::bytes,static_data::bytes_violations… - regex default
-
Enables regex
Affects
string::header_name,string::header_value…