Partial dependency update

master
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"
version = "0.8.0"
authors = ["Edward Shen <code@eddie.sh>"]
edition = "2018"
edition = "2021"
description = "Re-implementation of bunny1 in Rust"
license = "AGPL-3.0"
readme = "README.md"
@ -11,16 +11,16 @@ exclude = ["/aux/"]
[dependencies]
actix-web = "3"
clap = { version = "3.0.0-beta.2", features = ["wrap_help"] }
dirs = "3"
handlebars = "3"
clap = { version = "3", features = ["wrap_help", "derive", "cargo"] }
dirs = "4"
handlebars = "4"
hotwatch = "0.4"
log = "0.4"
percent-encoding = "2"
serde = "1"
serde_yaml = "0.8"
serde_json = "1"
simple_logger = "1"
simple_logger = "2"
[dev-dependencies]
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;
#[derive(Clap)]
#[derive(Parser)]
#[clap(version = crate_version!(), author = crate_authors!())]
pub struct Opts {
/// Increases the log level to info, debug, and trace, respectively.

View File

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