Compare commits
2 Commits
6ad3ccae8d
...
721bba7dcd
| Author | SHA1 | Date | |
|---|---|---|---|
|
721bba7dcd
|
|||
|
f268ced6e0
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -907,7 +907,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "katniss-cdn"
|
name = "katniss-cdn"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-compression",
|
"async-compression",
|
||||||
"axum",
|
"axum",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "katniss-cdn"
|
name = "katniss-cdn"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ async fn main() -> Result<(), MainError> {
|
|||||||
let mut compressor =
|
let mut compressor =
|
||||||
BrotliEncoder::with_quality(for_compressor, async_compression::Level::Best);
|
BrotliEncoder::with_quality(for_compressor, async_compression::Level::Best);
|
||||||
|
|
||||||
let (temp_file, temp_path) = NamedTempFile::new_in(content_directory)
|
let (temp_file, temp_path) = NamedTempFile::new_in(&content_directory)
|
||||||
.context(TempFileCreationSnafu)?
|
.context(TempFileCreationSnafu)?
|
||||||
.into_parts();
|
.into_parts();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user