Partial dependency update

This commit is contained in:
Edward Shen 2022-06-02 20:08:04 -07:00
parent 15ab316963
commit 49e1c8ce0c
Signed by: edward
GPG key ID: 19182661E818369F
4 changed files with 369 additions and 468 deletions

821
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
name = "bunbun" name = "bunbun"
version = "0.8.0" version = "0.8.0"
authors = ["Edward Shen <code@eddie.sh>"] authors = ["Edward Shen <code@eddie.sh>"]
edition = "2018" edition = "2021"
description = "Re-implementation of bunny1 in Rust" description = "Re-implementation of bunny1 in Rust"
license = "AGPL-3.0" license = "AGPL-3.0"
readme = "README.md" readme = "README.md"
@ -11,16 +11,16 @@ exclude = ["/aux/"]
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"
clap = { version = "3.0.0-beta.2", features = ["wrap_help"] } clap = { version = "3", features = ["wrap_help", "derive", "cargo"] }
dirs = "3" dirs = "4"
handlebars = "3" handlebars = "4"
hotwatch = "0.4" hotwatch = "0.4"
log = "0.4" log = "0.4"
percent-encoding = "2" percent-encoding = "2"
serde = "1" serde = "1"
serde_yaml = "0.8" serde_yaml = "0.8"
serde_json = "1" serde_json = "1"
simple_logger = "1" simple_logger = "2"
[dev-dependencies] [dev-dependencies]
tempfile = "3" tempfile = "3"

View file

@ -1,7 +1,7 @@
use clap::{crate_authors, crate_version, Clap}; use clap::{crate_authors, crate_version, Parser};
use std::path::PathBuf; use std::path::PathBuf;
#[derive(Clap)] #[derive(Parser)]
#[clap(version = crate_version!(), author = crate_authors!())] #[clap(version = crate_version!(), author = crate_authors!())]
pub struct Opts { pub struct Opts {
/// Increases the log level to info, debug, and trace, respectively. /// Increases the log level to info, debug, and trace, respectively.

View file

@ -10,7 +10,7 @@ use crate::config::{
RouteGroup, RouteGroup,
}; };
use actix_web::{middleware::Logger, App, HttpServer}; use actix_web::{middleware::Logger, App, HttpServer};
use clap::Clap; use clap::Parser;
use error::BunBunError; use error::BunBunError;
use handlebars::{Handlebars, TemplateError}; use handlebars::{Handlebars, TemplateError};
use hotwatch::{Event, Hotwatch}; use hotwatch::{Event, Hotwatch};