Skip to content

Commit

Permalink
Implementing a setting cache
Browse files Browse the repository at this point in the history
ghstack-source-id: 763034e39c6dde58d8a6f64e5d8559072d1ebda7
Pull Request resolved: #19
  • Loading branch information
MohamedBassem committed Aug 6, 2023
1 parent 810d2b7 commit bd13d47
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 3 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 @@ -30,4 +31,5 @@ pub mod prelude {
pub use crate::model::*;
pub use crate::service::*;
pub use crate::types::*;
pub use crate::project_settings::*;
}
Loading

0 comments on commit bd13d47

Please sign in to comment.