update dependencies

This commit is contained in:
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/"] exclude = ["/aux/"]
[dependencies] [dependencies]
actix-web = "3.0" actix-web = "3"
actix-rt = "1.1" clap = { version = "3.0.0-beta.2", features = ["wrap_help"] }
clap = { version = "3.0.0-beta.1", features = ["wrap_help"] } dirs = "3"
dirs = "3.0" handlebars = "3"
handlebars = "3.5"
hotwatch = "0.4" hotwatch = "0.4"
log = "0.4" log = "0.4"
percent-encoding = "2.1" percent-encoding = "2"
serde = "1.0" serde = "1"
serde_yaml = "0.8" serde_yaml = "0.8"
serde_json = "1.0" serde_json = "1"
simple_logger = "1.3" simple_logger = "1"
[dev-dependencies] [dev-dependencies]
tempfile = "3.1" tempfile = "3"
[profile.release] [profile.release]
lto = true lto = true

View file

@ -377,7 +377,7 @@ mod route {
fn serialize() { fn serialize() {
assert_eq!( assert_eq!(
&to_string(&Route::from_str("hello world").unwrap()).unwrap(), &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>, routes: HashMap<String, Route>,
} }
#[actix_rt::main] #[actix_web::main]
#[cfg(not(tarpaulin_include))] #[cfg(not(tarpaulin_include))]
async fn main() { async fn main() {
std::process::exit(match run().await { std::process::exit(match run().await {