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 lru requirement from 0.7.3 to 0.9.0 #305

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.9.0 - 2022-12-31

  • Update dependency on hashbrown to 0.13.
  • Change LruCache.map to hold a pointer, rather than owned LruEntry.

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

... (truncated)

Commits
  • 69d703e Merge pull request #164 from jeromefroe/jerome/prepare-0-9-0-release
  • e77782e Prepare 0.9.0 release
  • 44e00ef Merge pull request #162 from benesch/hashbrown-bump
  • 99ff1cf Upgrade to hashbrown v0.13
  • 4ee84e1 Merge pull request #161 from emilHof/miri-stack-borrow
  • e0db0f2 Merge pull request #6 from emilHof/stack-borrow-nonnull
  • b1d858a fix clippy lint by dereferencing ptr explicitly before swapping mem
  • 78a87aa Merge pull request #5 from emilHof/stack-borrow-nonnull
  • 133f76b Change to some mut borrows to mut pointers
  • c559309 change *mut to Nonnull
  • 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 | 11.9±0.04ms | **11.7±0.02ms** | **+1.71%** | | benchmark priority model | **5.1±0.02µs** | 5.3±0.01µs | **-3.77%** | | benchmark_abac_model | 2.8±0.02µs | 2.8±0.01µs | 0.00% | | benchmark_basic_model | 4.5±0.06µs | 4.5±0.02µs | 0.00% | | benchmark_key_match | 17.8±0.03µs | 17.8±0.04µs | 0.00% | | benchmark_raw | 4.0±0.01ns | 4.0±0.00ns | 0.00% | | benchmark_rbac_model | **7.5±0.01µs** | 7.6±0.05µs | **-1.32%** | | benchmark_rbac_model_medium | **1044.3±1.67µs** | 1050.2±1.07µs | **-0.56%** | | benchmark_rbac_model_with_domains | 7.5±0.02µs | 7.5±0.01µs | 0.00% | | benchmark_rbac_with_deny | 10.4±0.01µs | **10.3±0.01µs** | **+0.97%** | | benchmark_rbac_with_resource_roles | 5.4±0.01µs | 5.4±0.01µs | 0.00% | | benchmark_role_manager_large | **4.6±0.03ms** | 4.7±0.10ms | **-2.13%** | | benchmark_role_manager_medium | **390.3±0.33µs** | 396.4±0.29µs | **-1.54%** | | benchmark_role_manager_small | 40.9±0.45µs | **38.7±0.03µs** | **+5.68%** |
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.