agent
agent copied to clipboard
Bump anyhow from 1.0.44 to 1.0.51
Bumps anyhow from 1.0.44 to 1.0.51.
Release notes
Sourced from anyhow's releases.
1.0.51
- Show doc for
Okfn1.0.50
1.0.49
- Add a function
anyhow::Ok(v)equivalent toOk::<_, anyhow::Error>(v)(#192)1.0.48
Include a
Debugrendering of lhs and rhs inensure!messages (#193, #194, #195, #196, #197, #198)Example:
ensure!(flags.len() <= 40);ensure!(kind == Kind::File);Before:
Condition failed: `flags.len() <= 40` Condition failed: `kind == Kind::File`After:
Condition failed: `flags.len() <= 40` (99 vs 40) Condition failed: `kind == Kind::File` (Symlink vs File)1.0.47
- Fixes for implicit format args support
1.0.46
Support for implicit format args to match println and other std macros (https://rust-lang.github.io/rfcs/2795-format-args-implicit-identifiers.html)
let var = ...; let error = anyhow!("interpolate {var}"); // equivalent to anyhow!("interpolate {var}", var=var)Detect missing fmt arguments at compile time:
anyhow!("{} not found")(#55)Reduce occurrence of "future cannot be shared between threads safely" in async code using anyhow macros (#186)
... (truncated)
Commits
871be23Release 1.0.5197cff68Show doc for Ok fn7f5c9c4Release 1.0.50865de15Merge pull request #206 from dtolnay/patda5c3fdAdd pattern testse1dcc49Pattern parser to preserve all spans inif letandforb577cd9Refer to concat and stringify macros by absolute path68d1f4cMerge pull request #205 from dtolnay/traitobject04732a7Parse trait object types11d3eb7Merge pull request #204 from dtolnay/assoc- 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 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)