-
-
Notifications
You must be signed in to change notification settings - Fork 37
feat: add FileStore implementation for cache (#427) #443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
f571f6c
3b05a5f
da541c8
98c4bf6
0adfa9e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,7 @@ askama = { workspace = true, features = ["std"] } | |
| async-trait.workspace = true | ||
| axum = { workspace = true, features = ["http1", "tokio"] } | ||
| backtrace.workspace = true | ||
| blake3.workspace = true | ||
| bytes.workspace = true | ||
| chrono = { workspace = true, features = ["alloc", "serde", "clock"] } | ||
| chrono-tz.workspace = true | ||
|
|
@@ -34,6 +35,7 @@ digest.workspace = true | |
| email_address.workspace = true | ||
| fake = { workspace = true, optional = true, features = ["derive", "chrono"] } | ||
| form_urlencoded.workspace = true | ||
| fs4.workspace = true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since |
||
| futures-core.workspace = true | ||
| futures-util.workspace = true | ||
| hex.workspace = true | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -5,6 +5,7 @@ | |||
| //! provide a simple asynchronous interface for putting, getting, and managing | ||||
| //! cached values, optionally with expiration policies. | ||||
|
|
||||
| pub mod file; | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For a full implementation, please take a look at Line 791 in 01aeef5
|
||||
| pub mod memory; | ||||
| #[cfg(feature = "redis")] | ||||
| pub mod redis; | ||||
|
|
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically this should also be an optional dependency, but since we plan to switch static files to use blake3 instead of sha2, it's fine to leave this as-is.