Update proptest-derive requirement from 0.3.0 to 0.4.0
Updates the requirements on proptest-derive to permit the latest version.
Changelog
Sourced from proptest-derive's changelog.
0.4.0
Potential Breaking Changes
proptest::char::ANYreplaced withproptest::char::any().proptest::char::ANYis present but deprecated, and will be removed in proptest 0.5.0.Instead of returning
-> Result<Self::Value, String>, strategies are expected to return-> Result<Self::Value, Reason>instead.Reasonreduces the amount of heap allocations, especially for.prop_filter(..)where you may now also pass in&'static str. You will only experience breaks if you've written your own strategy types or if you've usedTestCaseError::RejectorTestCaseError::Failexplicitly.Update of externally-visible crate
randto0.4.2.New Additions
Added
proptest::test_runner::Reasonwhich allows you to avoid heap allocation in some places and may be used to make the API richer in the future without incurring more breaking changes.Added a type alias
proptest::strategy::NewTree<S>whereS: Strategydefined as:type NewTree<S> = Result<<S as Strategy>::Value, Rejection>.0.3.4
Bug Fixes
- Cases where
file!()returns a relative path, such as on Windows, are now handled more reasonably. See #24 for more details and instructions on how to migrate any persistence files that had been written to the wrong location.0.3.3
Boxing Day Special
New Additions
Added support for
i128andu128. Since this is an unstable feature in Rust, this is hidden behind the featureunstablewhich you have to explicitly opt into in yourCargo.tomlfile.Failing case persistence. By default, when a test fails, Proptest will now save the seed for the failing test to a file, and later runs will test the persisted failing cases before generating new ones.
... (truncated)
Commits
15b0148Version 0.4.0.ce5c18bUpdate to lazy_static 1.0.0.3fc6e89Update versions of regex dependencies.54ebf9eUpgrade to rand 0.4.2.7ad5761Replacechar::ANYwithchar::any().495a36bMerge pull request #27 from AltSysrq/pr20-merged9dcb006Remove incorrect documentation.b5f5b42Remove smart-pointerness fromReason.4b9a19bRenameRejectiontoReason.c81a728MoveRejectionalongside the types that use it.- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)