casbin / casbin-rs

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

build(deps): update lru requirement from 0.7.3 to 0.8.1 #303

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on lru to permit the latest version.

Changelog

Sourced from lru's changelog.

v0.8.1 - 2022-10-01

  • Add "caching" and "no-std" to list of categories.

v0.8.0 - 2022-09-11

  • Use NonZeroUsize for LRU capacity instead of usize.
  • Add get_or_insert_mut method which is similiar to get_or_insert but returns a mutable reference instead of an immutable reference.
  • Add LruCache::promote and LruCache::demote API to manipulate LRU order of the entry directly.

v0.7.8 - 2022-07-19

  • Update dependency on hashbrown to 0.12.

v0.7.7 - 2022-06-14

  • Use FnOnce instead of Fn for trait bound of fn in get_or_insert.

v0.7.6 - 2022-05-25

  • Add pop_entry method.

v0.7.5 - 2022-04-04

  • Add push method.

v0.7.4 - 2022-04-03

  • Implement IntoIterator trait and fix lifetime bug in get_or_insert.

v0.7.3 - 2022-02-28

  • Add get_or_insert method.

v0.7.2 - 2021-12-28

  • Explicitly implement Borrow for Box for non-nightly.

v0.7.1 - 2021-12-18

  • Fix lifetime of iterators.

v0.7.0 - 2021-09-14

  • Explicitly implement Borrow for String and Vec types for non-nightly.

v0.6.6 - 2021-07-28

  • Update dependency on hashbrown to 0.11.2.

... (truncated)

Commits
  • cf063f6 Merge pull request #156 from jeromefroe/jerome/prepare-0-8-1-release
  • 3d69719 Prepare 0.8.1 release
  • 6db1654 Merge pull request #155 from rtzoeller/add-categories
  • f6ada6a Add categories to Cargo.toml
  • e2e887e Merge pull request #154 from jeromefroe/jerome/prepare-0-8-0-release
  • b388382 Prepare 0.8.0 release
  • 29561cb Merge pull request #152 from matklad/promete-demote
  • ad3adcc Add API to directly manipulate LRU order
  • ff6c80e Merge pull request #151 from Yosi-Hezi/get_mut_or_insert
  • d5230df Merge pull request #153 from matklad/lifetime-bug
  • 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 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)
casbin-bot commented 1 year ago

@hackerchai @PsiACE please review

CLAassistant commented 1 year 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 year ago

Benchmark for e161068

Click to view benchmark | Test | PR Benchmark | Master Benchmark | % | |------|--------------|------------------|---| | b_benchmark_rbac_model_large | 12.3±0.01ms | 12.3±0.01ms | 0.00% | | benchmark priority model | **6.3±0.02µs** | 6.4±0.03µs | **-1.56%** | | benchmark_abac_model | 3.7±0.02µs | 3.7±0.01µs | 0.00% | | benchmark_basic_model | **5.7±0.02µs** | 5.8±0.03µs | **-1.72%** | | benchmark_key_match | 18.7±0.05µs | 18.7±0.02µs | 0.00% | | benchmark_raw | 3.4±0.08ns | 3.4±0.02ns | 0.00% | | benchmark_rbac_model | 9.2±0.04µs | **9.1±0.04µs** | **+1.10%** | | benchmark_rbac_model_medium | 1129.3±5.23µs | **1125.8±3.45µs** | **+0.31%** | | benchmark_rbac_model_with_domains | 8.9±0.04µs | 8.9±0.01µs | 0.00% | | benchmark_rbac_with_deny | 12.3±0.04µs | **12.0±0.04µs** | **+2.50%** | | benchmark_rbac_with_resource_roles | 6.5±0.02µs | 6.5±0.03µs | 0.00% | | benchmark_role_manager_large | 4.8±0.01ms | 4.8±0.02ms | 0.00% | | benchmark_role_manager_medium | **401.5±1.08µs** | 404.6±0.38µs | **-0.77%** | | benchmark_role_manager_small | **119.6±0.10µs** | 119.9±0.13µs | **-0.25%** |
dependabot[bot] commented 1 year 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.