KEMBAR78
Add in-memory files cache to the Cargo `experimental` feature list by joseluisq · Pull Request #482 · static-web-server/static-web-server · GitHub
Skip to content

Conversation

@joseluisq
Copy link
Collaborator

@joseluisq joseluisq commented Sep 15, 2024

Description

This PR complements what is done in #328 by adding the in-memory files cache to the Cargo experimental feature.

Note: when using SWS as a library the experimental Cargo feature will require RUSTFLAGS="--cfg tokio_unstable" to be passed due to the SWS experimental-metrics feature.

Also, be aware that this experimental feature could be subject to change in future releases.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

@joseluisq joseluisq added enhancement New feature or request v2 v2 release library Related to the static-web-server crate experimental This is an experimental feature labels Sep 15, 2024
@joseluisq joseluisq self-assigned this Sep 15, 2024
@semanticdiff-com
Copy link

semanticdiff-com bot commented Sep 15, 2024

Review changes with SemanticDiff.

Analyzed 11 of 12 files.

Overall, the semantic diff is 21% smaller than the GitHub diff.

Filename Status
Cargo.toml Unsupported file format
✔️ tests/compression_static.rs Analyzed
✔️ tests/dir_listing.rs Analyzed
✔️ tests/static_files.rs Analyzed
✔️ src/handler.rs 30.0% smaller
✔️ src/lib.rs Analyzed
✔️ src/response.rs 49.45% smaller
✔️ src/server.rs 47.97% smaller
✔️ src/static_files.rs 34.66% smaller
✔️ src/testing.rs Analyzed
✔️ src/settings/file.rs Analyzed
✔️ src/settings/mod.rs 30.52% smaller

@joseluisq joseluisq merged commit ec85abd into master Sep 15, 2024
41 checks passed
@joseluisq joseluisq deleted the in-memory-cache-cargo-feature branch September 15, 2024 19:42
@joseluisq joseluisq added this to the v2.33.0 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request experimental This is an experimental feature library Related to the static-web-server crate v2 v2 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant