new_with_map constructor got renamed to from_map_with_default, and its
arguments were switched around
The new minimum supported Rust version is 1.71.0
Added
A lot more methods are now forwarded
with_fn and from_map_with_fn constructors were added to allow creating a
default from a closure.
A get_default method to get an owned version of the default.
Changed
Values now don't have to implement Clone. They only need to implement
Default. This is especially useful for values that are an Option<T> of
where T does not implement Clone.
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Updates the requirements on defaultmap to permit the latest version.
Release notes
Sourced from defaultmap's releases.
Changelog
Sourced from defaultmap's changelog.
Commits
277a8d4
chore: Release defaultmap version 0.6.0f48dbcf
Make new method public and improve coverage64d00fa
Actually use the coverage markers6be90ce
Exclude simple forwarding methods from coveragefd4b03d
cargo fmtd2cafd4
Add a changelog in preparation of releasef635768
Forward additional methodsaf90158
Rename some constructors49f96b6
Upgrade minimum suported rust version to 1.71.026a2b11
Remove grcov from windows CIDependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show