Cargo Features
[dependencies]
regorus = { version = "0.1.5", default-features = false, features = ["arc", "base64url", "coverage", "crypto", "hex", "http", "jwt", "glob", "graph", "jsonschema", "opa-runtime", "regex", "semver", "uuid", "urlquery", "time", "yaml", "full-opa", "deprecated", "opa-testutil"] }
- default = arc, full-opa
-
These default features are set whenever
regorus
is added without
somewhere in the dependency tree.default-features = false - arc default
-
Enables arc of scientific
- base64 base64url full-opa
-
Enables data-encoding
- coverage full-opa
-
Affects
regorus::coverage
… - crypto full-opa
-
Enables constant_time_eq, hex, hmac, md-5, sha1, and sha2
constant_time_eq:
Crypto
- hex full-opa
-
Enables data-encoding
- http full-opa
- jwt full-opa
-
Enables data-encoding and jsonwebtoken
- glob full-opa
-
Enables wax
- graph full-opa
- jsonschema full-opa
-
Enables jsonschema ^0.17.1
- opa-runtime full-opa
- regex full-opa
-
Enables regex
- semver full-opa
-
Enables semver
- uuid full-opa
-
Enables uuid
- urlquery full-opa
-
Enables url
- time full-opa
-
Enables chrono and chrono-tz ^0.8.5
- yaml full-opa = serde_yaml
- full-opa default = base64, base64url, coverage, crypto, deprecated, glob, graph, hex, http, jsonschema, jwt, opa-runtime, regex, semver, time, urlquery, uuid, yaml
- deprecated full-opa
-
Affects
builtins::deprecated
… - opa-testutil
-
This feature enables some testing utils for OPA tests.
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.