Skip to content

Commit 03ce94c

Browse files
sypharjyn514
authored andcommitted
1 parent b95f5da commit 03ce94c

File tree

4 files changed

+52
-49
lines changed

4 files changed

+52
-49
lines changed

Cargo.lock

Lines changed: 45 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ anyhow = { version = "1.0.42", features = ["backtrace"]}
4343
backtrace = "0.3.61"
4444
failure = "0.1.8"
4545
thiserror = "1.0.26"
46-
comrak = { version = "0.13.1", default-features = false }
46+
comrak = { version = "0.14.0", default-features = false }
4747
toml = "0.5"
4848
schemamama = "0.3"
4949
schemamama_postgres = "0.3"
@@ -54,7 +54,7 @@ mime_guess = "2"
5454
dotenv = "0.15"
5555
zstd = "0.11.0"
5656
git2 = { version = "0.14.4", default-features = false }
57-
path-slash = "0.1.3"
57+
path-slash = "0.2.0"
5858
once_cell = { version = "1.4.0", features = ["parking_lot"] }
5959
base64 = "0.13"
6060
strum = { version = "0.24.0", features = ["derive"] }
@@ -71,9 +71,9 @@ getrandom = "0.2.1"
7171
# Async
7272
tokio = { version = "1.0", features = ["rt-multi-thread"] }
7373
futures-util = "0.3.5"
74-
aws-config = "0.15.0"
75-
aws-sdk-s3 = "0.15.0"
76-
aws-smithy-types-convert = { version = "0.45.0", features = ["convert-chrono"] }
74+
aws-config = "0.46.0"
75+
aws-sdk-s3 = "0.16.0"
76+
aws-smithy-types-convert = { version = "0.46.0", features = ["convert-chrono"] }
7777
http = "0.2.6"
7878

7979
# Data serialization and deserialization

src/storage/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ impl Storage {
420420
.map(|(file_path, file)| -> Result<_> {
421421
let alg = CompressionAlgorithm::default();
422422
let content = compress(file, alg)?;
423-
let bucket_path = prefix.join(&file_path).to_slash().unwrap();
423+
let bucket_path = prefix.join(&file_path).to_slash().unwrap().to_string();
424424

425425
let mime = detect_mime(&file_path);
426426
file_paths_and_mimes.insert(file_path, mime.to_string());

src/web/page/templates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn find_templates_in_filesystem(base: &str) -> Result<Vec<(PathBuf, Option<Strin
129129
.with_context(|| format!("{} is not a child of {}", path.display(), root.display()))?
130130
.to_slash()
131131
.with_context(|| anyhow::anyhow!("failed to normalize {}", path.display()))?;
132-
files.push((path.to_path_buf(), Some(name)));
132+
files.push((path.to_path_buf(), Some(name.to_string())));
133133
}
134134

135135
Ok(files)

0 commit comments

Comments
 (0)