Cargo Features
[dependencies]
pact_matching = { version = "1.2.7", default-features = false, features = ["datetime", "xml", "plugins", "multipart"] }
- default = datetime, multipart, plugins, xml
-
These default features are set whenever
pact_matching
is added without
somewhere in the dependency tree.default-features = false - datetime default
-
Support for date/time matchers and expressions
Enables chrono, datetime of pact_models and optional pact-plugin-driver
- xml default
-
support for matching XML documents
Enables sxd-document, xml of pact_models and optional pact-plugin-driver
Affects
generators::XmlHandler
… - plugins default
-
Enables pact-plugin-driver
- multipart default
-
suport for MIME multipart bodies
Enables multer