Skip to content

Commit

Permalink
Update deps + fix JS mime
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten committed Jul 4, 2024
1 parent e630c88 commit b55342e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
[workspace]
members = [
"memory-serve",
"memory-serve-macros",
"examples/test",
]
members = ["memory-serve", "memory-serve-macros", "examples/test"]
resolver = "2"

[workspace.package]
version = "0.4.5"
version = "0.5.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/tweedegolf/memory-serve"
Expand Down
2 changes: 1 addition & 1 deletion memory-serve-macros/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const COMPRESS_TYPES: &[&str] = &[
"text/html",
"text/css",
"application/json",
"application/javascript",
"text/javascript",
"text/javascript",
"application/xml",
"text/xml",
Expand Down
2 changes: 1 addition & 1 deletion memory-serve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description.workspace = true
brotli = "6.0"
flate2 = "1.0"
axum = { version = "0.7", default-features = false }
memory-serve-macros = { version = "0.4", path = "../memory-serve-macros" }
memory-serve-macros = { version = "0.5", path = "../memory-serve-macros" }
tracing = "0.1"
sha256 = "1.4"

Expand Down
2 changes: 1 addition & 1 deletion memory-serve/src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub const COMPRESS_TYPES: &[&str] = &[
"text/html",
"text/css",
"application/json",
"application/javascript",
"text/javascript",
"text/javascript",
"application/xml",
"text/xml",
Expand Down
2 changes: 1 addition & 1 deletion memory-serve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ mod tests {
"text/html",
"image/jpeg",
"text/css",
"application/javascript",
"text/javascript",
"image/svg+xml",
"text/html"
]
Expand Down

0 comments on commit b55342e

Please sign in to comment.