Cargo Features
[dependencies]
pact_models = { version = "1.2.6", default-features = false, features = ["datetime", "xml", "form_urlencoded"] }
- default = datetime, form_urlencoded, xml
-
These default features are set whenever
pact_models
is added without
somewhere in the dependency tree.default-features = false - datetime default
-
Support for date/time matchers and expressions
Enables chrono, chrono-tz, and gregorian
Affects
generators::datetime_expressions
,pact_models::time_utils
… - xml default
-
support for matching XML documents
Enables sxd-document
Affects
pact_models::xml_utils
… - form_urlencoded default
-
suport for matching form urlencoded
Enables serde_urlencoded
Affects
generators::form_urlencoded
…