Skip to content

Commit

Permalink
Bump dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed Apr 22, 2023
1 parent 5df0906 commit ccdbea4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ markup5ever_rcdom = "0.2"
minijinja = { version = "0.32", features = ["source"] }
notify-debouncer-mini = { version = "0.2", default-features = false }
once_cell = "1"
opener = "0.5"
opener = "0.6"
parking_lot = "0.12"
promptly = "0.3"
pulldown-cmark = "0.9"
Expand All @@ -45,9 +45,9 @@ syntect = { version = "5", default-features = false, features = [
thiserror = "1"
time = { version = "0.3", features = ["serde", "serde-well-known"] }
tokio = { version = "1.26", features = ["rt-multi-thread", "signal", "macros"] }
toml = "0.5"
toml = "0.7"
tower = { version = "0.4", features = ["make", "util"] }
tower-http = { version = "0.3", features = ["fs"] }
tower-http = { version = "0.4", features = ["fs"] }
walkdir = "2"

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion src/serve.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::{
convert::Infallible,
env, fs,
future::Future,
io,
Expand Down Expand Up @@ -90,7 +91,7 @@ struct FallbackService {

impl Service<Request<Body>> for FallbackService {
type Response = Response<Body>;
type Error = io::Error;
type Error = Infallible;
type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send>>;

fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
Expand Down

0 comments on commit ccdbea4

Please sign in to comment.