You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking changes
Switched to Rust edition 2024.
Removed 'collection and 'map lifetimes from Collection and Map trait respectively. These seemed redundant and their removal simplifies the traits. However, current implementations of those traits will now no longer compile until the lifetimes are removed.
Other changes
Added assertions for types that can be parsed as JSON as well as JSON values, powered by the serde_json crate.
Added various assertions for collections and maps to check whether they hold only one element/key/value/entry.
Assert equality with a given element/key/value/entry (is_single_*)
Assert that the one-and-only element/key/value/entry matches a predicate (is_single_*_matching)
Return an asserter on the one-and-only element/key/value/entry (to_single_*)