update dependencies

master
Edward Shen 2021-04-05 15:00:58 -04:00
parent 543c13a500
commit 15ab316963
Signed by: edward
GPG Key ID: 19182661E818369F
4 changed files with 339 additions and 341 deletions

657
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -10,21 +10,20 @@ repository = "https://github.com/edward-shen/bunbun"
exclude = ["/aux/"]
[dependencies]
actix-web = "3.0"
actix-rt = "1.1"
clap = { version = "3.0.0-beta.1", features = ["wrap_help"] }
dirs = "3.0"
handlebars = "3.5"
actix-web = "3"
clap = { version = "3.0.0-beta.2", features = ["wrap_help"] }
dirs = "3"
handlebars = "3"
hotwatch = "0.4"
log = "0.4"
percent-encoding = "2.1"
serde = "1.0"
percent-encoding = "2"
serde = "1"
serde_yaml = "0.8"
serde_json = "1.0"
simple_logger = "1.3"
serde_json = "1"
simple_logger = "1"
[dev-dependencies]
tempfile = "3.1"
tempfile = "3"
[profile.release]
lto = true

View File

@ -377,7 +377,7 @@ mod route {
fn serialize() {
assert_eq!(
&to_string(&Route::from_str("hello world").unwrap()).unwrap(),
"---\nroute_type: External\npath: hello world\nhidden: false\ndescription: ~\nmin_args: ~\nmax_args: ~"
"---\nroute_type: External\npath: hello world\nhidden: false\ndescription: ~\nmin_args: ~\nmax_args: ~\n"
);
}
}

View File

@ -39,7 +39,7 @@ pub struct State {
routes: HashMap<String, Route>,
}
#[actix_rt::main]
#[actix_web::main]
#[cfg(not(tarpaulin_include))]
async fn main() {
std::process::exit(match run().await {