cedar-policy / cedar

Implementation of the Cedar Policy Language
https://www.cedarpolicy.com
Apache License 2.0
897 stars 80 forks source link

Update smol_str requirement from 0.2 to 0.3 #1181

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Updates the requirements on smol_str to permit the latest version.

Changelog

Sourced from smol_str's changelog.

0.3.1 - 2024-09-04

  • Fix SmolStrBuilder leaking implementation details

0.3.0 - 2024-09-04

  • Remove deprecated SmolStr::new_inline_from_ascii function
  • Remove SmolStr::to_string in favor of ToString::to_string
  • Add impl AsRef<[u8]> for SmolStr impl
  • Add impl AsRef<OsStr> for SmolStr impl
  • Add impl AsRef<Path> for SmolStr impl
  • Add SmolStrBuilder

0.2.2 - 2024-05-14

  • Add StrExt trait providing to_lowercase_smolstr, replace_smolstr and similar
  • Add PartialEq optimization for ptr_eq-able representations
Commits


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 this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
cdisselkoen commented 2 months ago

Changelog for smol_str: https://github.com/rust-analyzer/smol_str/blob/master/CHANGELOG.md

Looks like build failures are mostly because .as_ref() used to unambiguously give &str, but now there are other (useful) as_ref() impls for SmolStr, so we need type annotations to tell rustc we intended to get an &str