Skip to content

Commit

Permalink
update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Jul 13, 2024
1 parent fdafa9e commit e8d0e11
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
27 changes: 14 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "curite"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
repository = "https://github.com/Libera-Chat/curite.git"
Expand All @@ -10,17 +10,18 @@ description = "nickserv account verification URL bot"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "4.0.8", features = ["derive"] }
dxr = "0.4.0"
http = "0.2.8"
http-serde = "1.1.2"
hyper = "0.14.20"
regex = "1.6.0"
serde = { version = "1.0.145", features = ["derive"] }
clap = { version = "4.5.9", features = ["derive"] }
dxr_client = { version = "0.6.2", features = ["reqwest"] }
http = "0.2.12" # warp is stuck on an old version
http-serde = "1.1.3"
hyper = "1.4.1"
regex = "1.10.5"
reqwest = "0.12.5"
serde = { version = "1.0.204", features = ["derive"] }
serde_regex = "1.1.0"
serde_yaml = "0.9.13"
tera = "1.17.1"
tokio = { version = "1.21.2", features = ["full"] }
tokio-stream = { version = "0.1.10", features = ["net"] }
url = { version = "2.3.1", features = ["serde"] }
warp = "0.3.3"
tera = "1.20.0"
tokio = { version = "1.38.0", features = ["full"] }
tokio-stream = { version = "0.1.15", features = ["net"] }
url = { version = "2.5.2", features = ["serde"] }
warp = "0.3.7"
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ use std::sync::{Arc, RwLock};
use clap::Parser;
use http::response::Response;
use http::StatusCode;
use hyper::body::Body;
use serde_yaml::from_reader;
use tera::Tera;
use tokio::net::UnixListener;
Expand All @@ -40,7 +39,7 @@ struct Opts {
config: PathBuf,
}

fn display(res: Result<Handled, Error>) -> Response<Body> {
fn display(res: Result<Handled, Error>) -> Response<warp::hyper::Body> {
match res {
Ok(res) => match res {
Handled::Html(body) => warp::reply::html(body).into_response(),
Expand Down
2 changes: 1 addition & 1 deletion src/xmlrpc.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use dxr::client::{Call, Client, ClientBuilder};
use dxr_client::{Call, Client, ClientBuilder};
use url::Url;

pub struct Xmlrpc {
Expand Down

0 comments on commit e8d0e11

Please sign in to comment.