Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
fankaiLiu committed Nov 24, 2023
1 parent 0a3273a commit 03fe53a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "salvo-cli"
version = "0.1.24"
version = "0.1.25"
edition = "2021"
authors = ["Fankai Liu liufankai137@outlook.com","mrxiaozhuox mrxzx.info@gmail.com"]
keywords = ["salvo", "cli","template"]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use i18n::set_locale;
mod i18n;
rust_i18n::i18n!("locales", fallback = "en");
#[derive(Parser, Debug)]
#[clap(version = "0.1.24", author = "Fankai liu <liufankai137@outlook.com>")]
#[clap(version = "0.1.25", author = "Fankai liu <liufankai137@outlook.com>")]
struct Opts {
#[clap(subcommand)]
subcmd: SubCommand,
Expand Down
1 change: 1 addition & 0 deletions src/template/src/routers/static_routers.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use salvo::{Router, endpoint, Response, http::ResBody, hyper::body::Bytes};
#[folder = "assets"]
struct Assets;

#[allow(dead_code)]
pub fn create_static_routers() -> Vec<Router> {
{{#if need_db_conn}}
let static_router = Router::with_path("assets/<**path>").get(static_embed::<Assets>());
Expand Down

0 comments on commit 03fe53a

Please sign in to comment.