Skip to content

Commit bbeb4b3

Browse files
authored
Merge pull request #272 from neinteractiveliterature/upgrade-cached
Upgrade to cached 0.46 after api break
2 parents ce22daa + 024f76f commit bbeb4b3

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ base64 = "0.21.5"
6464
bcrypt = "0.15.0"
6565
bumpalo = "3.14.0"
6666
bumpalo-herd = "0.1.2"
67-
cached = "~0.44.0"
67+
cached = {version = "~0.46.0", features = ["async", "async_tokio_rt_multi_thread"]}
6868
chrono = "0.4"
6969
chrono-tz = "0.8"
7070
csrf = "0.4.1"

crates/intercode_policies/src/authorization_info.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use cached::{async_sync::Mutex, CachedAsync, UnboundCache};
1+
use cached::{CachedAsync, UnboundCache};
22
use intercode_entities::{
33
cms_content_groups, conventions, event_categories, events,
44
model_ext::user_con_profiles::BioEligibility, signups, user_con_profiles, users,
@@ -11,7 +11,7 @@ use std::{
1111
fmt::Debug,
1212
hash::Hash,
1313
};
14-
use tokio::sync::OnceCell;
14+
use tokio::sync::{Mutex, OnceCell};
1515

1616
use crate::{
1717
conventions_where_team_member, conventions_with_organization_permission,

0 commit comments

Comments
 (0)