From 49a160f7d033094c4c4ceeab63e6186d61a44a65 Mon Sep 17 00:00:00 2001 From: Fankai Liu Date: Fri, 22 Dec 2023 09:09:27 +0800 Subject: [PATCH] fix test_error --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/utils/create_project.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 093ec5a..2993bdd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1238,7 +1238,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "salvo-cli" -version = "0.1.34" +version = "0.1.35" dependencies = [ "ansi_term", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 9ca44bc..658822c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "salvo-cli" -version = "0.1.34" +version = "0.1.35" edition = "2021" authors = ["Fankai Liu liufankai137@outlook.com","mrxiaozhuox mrxzx.info@gmail.com"] keywords = ["salvo", "cli","template"] diff --git a/src/utils/create_project.rs b/src/utils/create_project.rs index f5c5af0..7af669e 100644 --- a/src/utils/create_project.rs +++ b/src/utils/create_project.rs @@ -128,7 +128,7 @@ pub fn write_project_file( "once_cell": "1.18.0", "salvo": { "version": "0.63", - "features": ["anyhow", "logging", "cors", "oapi", "jwt-auth", "rustls", "catch-panic","cookie","serve-static"] + "features": ["anyhow", "logging", "cors", "oapi", "jwt-auth", "rustls", "catch-panic","cookie","serve-static","test"] }, "serde": "1.0.188", "thiserror": "1.0.48",