Skip to content

Commit

Permalink
chore: remove fluent crate override
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Aug 28, 2022
1 parent 818d8b1 commit 0319f18
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
10 changes: 6 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,3 @@ exclude = [
# uses incompatible libsqlite-sys to other examples
"databases/diesel",
]

[patch.crates-io]
# FIXME: Specify commit until https://github.com/XAMPPRocky/fluent-templates/pull/36 is released
fluent-templates = { git = "https://github.com/XAMPPRocky/fluent-templates.git", rev = "82b50baf6232e1ce2e9629ce2a8fcc12ab5d942c" }
fluent-template-macros = { git = "https://github.com/XAMPPRocky/fluent-templates.git", rev = "82b50baf6232e1ce2e9629ce2a8fcc12ab5d942c" }
4 changes: 1 addition & 3 deletions forms/multipart-s3/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ impl Client {
.content_length()
.try_into()
.expect("file has invalid size"),
object
.body
.map_err(|err| error::ErrorInternalServerError(err)),
object.body.map_err(error::ErrorInternalServerError),
))
}

Expand Down
2 changes: 1 addition & 1 deletion shutdown-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async fn hello() -> &'static str {

#[post("/stop/{graceful}")]
async fn stop(Path(graceful): Path<bool>, stop_handle: web::Data<StopHandle>) -> HttpResponse {
let _ = stop_handle.stop(graceful);
stop_handle.stop(graceful);
HttpResponse::NoContent().finish()
}

Expand Down
2 changes: 1 addition & 1 deletion templating/fluent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
actix-web = "4"
actix-web-lab = "0.17"
fluent-templates = { version = "0.7", features = ["handlebars"] }
fluent-templates = { version = "0.8", features = ["handlebars"] }
handlebars = { version = "4.3", features = ["dir_source"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

0 comments on commit 0319f18

Please sign in to comment.