Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
fankaiLiu committed Apr 7, 2024
1 parent 442e572 commit 51432b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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.47"
version = "0.1.48"
edition = "2021"
authors = ["Fankai Liu [email protected]","mrxiaozhuox [email protected]"]
keywords = ["salvo", "cli","template"]
Expand Down
10 changes: 5 additions & 5 deletions src/utils/create_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ fn handle_dependencies(
) {
if need_db_conn {
dependencies["validator"] = json!({
"version": "0.16",
"version": "0.18",
"features": ["derive"]
});
match (conn_type, db_type) {
Expand Down Expand Up @@ -633,19 +633,19 @@ fn handle_dependencies(
}
(DbConnectionType::Diesel, DbType::Mysql) => {
dependencies["diesel"] = json!({
"version": "2.1.0",
"version": "2.1.5",
"features": ["mysql"]
});
}
(DbConnectionType::Diesel, DbType::Postgres) => {
dependencies["diesel"] = json!({
"version": "2.1.0",
"version": "2.1.5",
"features": ["postgres"]
});
}
(DbConnectionType::Diesel, DbType::Sqlite) => {
dependencies["diesel"] = json!({
"version": "2.1.0",
"version": "2.1.5",
"features": ["sqlite","returning_clauses_for_sqlite_3_35"]
});
}
Expand Down Expand Up @@ -708,7 +708,7 @@ fn handle_dependencies(
});
//add argon2 dependency
dependencies["argon2"] = json!({
"version": "0.5.2",
"version": "0.5.3",
});
}
}
Expand Down

0 comments on commit 51432b5

Please sign in to comment.