Skip to content

Commit

Permalink
Implementing a setting cache
Browse files Browse the repository at this point in the history
ghstack-source-id: c906f41fd517a0021667280bf1bed438bf93e9e2
Pull Request resolved: #19
  • Loading branch information
MohamedBassem committed Aug 25, 2023
1 parent 8e702cd commit ec779f8
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 2 deletions.
224 changes: 223 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion cronback-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ validator = { workspace = true }
# Unique Dependencies
config = { version = "0.13", default-features = false, features = ["toml"] }
notify = { version = "6.0.1" }
notify-debouncer-mini = { version = "0.3.0" }
notify-debouncer-mini = { version = "0.3.0" }
hyper = "0.14.24"
tonic-reflection = "0.9.0"
url = { workspace = true, features = ["serde"] }
Expand All @@ -65,3 +65,5 @@ sea-orm-migration = { version = "0.11.0", features = [
"sqlx-sqlite", # `DATABASE_DRIVER` feature
"sqlx-postgres", # `DATABASE_DRIVER` feature
] }

moka = { version = "0.11.2", features = ["future"] }
2 changes: 2 additions & 0 deletions cronback-lib/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mod database;
mod grpc_client_provider;
mod grpc_helpers;
mod model;
mod project_settings;
mod rpc_middleware;
mod shutdown;
mod types;
Expand All @@ -28,6 +29,7 @@ pub mod prelude {
pub use crate::ext::*;
pub use crate::grpc_helpers::*;
pub use crate::model::*;
pub use crate::project_settings::*;
pub use crate::service::*;
pub use crate::types::*;
}
Loading

0 comments on commit ec779f8

Please sign in to comment.