casbin / casbin-rs

An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.
https://casbin.org
Apache License 2.0
861 stars 74 forks source link

build(deps): update thiserror requirement from 1.0.30 to 2.0.3 #347

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 week ago

Updates the requirements on thiserror to permit the latest version.

Release notes

Sourced from thiserror's releases.

2.0.3

  • Support the same Path field being repeated in both Debug and Display representation in error message (#383)
  • Improve error message when a format trait used in error message is not implemented by some field (#384)
Commits
  • 15fd26e Release 2.0.3
  • 7046023 Simplify how has_bonus_display is accumulated
  • 9cc1d0b Merge pull request #384 from dtolnay/nowrap
  • 1d040f3 Use Var wrapper only for Pointer formatting
  • 6a6132d Extend no-display ui test to cover another fmt trait
  • a061beb Merge pull request #383 from dtolnay/both
  • 6388293 Support Display and Debug of same path in error message
  • dc0359e Defer binding_value construction
  • 520343e Add test of Debug and Display of paths
  • 49be39d Release 2.0.2
  • 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 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)
CLAassistant commented 1 week ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

github-actions[bot] commented 1 week ago

Benchmark for c5a05d3

Click to view benchmark | Test | PR Benchmark | Master Benchmark | % | |------|--------------|------------------|---| | b_benchmark_rbac_model_large | **9.7±0.07ms** | 10.8±0.04ms | **-10.19%** | | benchmark priority model | **4.1±0.11µs** | 4.3±0.07µs | **-4.65%** | | benchmark_abac_model | 2.5±0.06µs | **2.4±0.04µs** | **+4.17%** | | benchmark_basic_model | **3.7±0.03µs** | 3.8±0.10µs | **-2.63%** | | benchmark_key_match | 7.1±0.09µs | 7.1±0.27µs | 0.00% | | benchmark_raw | 0.0±0.00ns | 0.0±0.00ns | NaN% | | benchmark_rbac_model | **6.1±0.04µs** | 6.5±0.05µs | **-6.15%** | | benchmark_rbac_model_medium | **871.9±7.54µs** | 913.9±24.83µs | **-4.60%** | | benchmark_rbac_model_with_domains | **5.9±0.11µs** | 6.1±0.23µs | **-3.28%** | | benchmark_rbac_with_deny | **8.4±0.11µs** | 8.8±0.06µs | **-4.55%** | | benchmark_rbac_with_resource_roles | **4.2±0.07µs** | 4.5±0.04µs | **-6.67%** | | benchmark_role_manager_large | **4.6±0.02ms** | 4.7±0.03ms | **-2.13%** | | benchmark_role_manager_medium | **302.4±4.89µs** | 306.3±2.29µs | **-1.27%** | | benchmark_role_manager_small | 29.7±0.28µs | **28.5±0.39µs** | **+4.21%** |
dependabot[bot] commented 1 week ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.