From 0c78cdb310c1bf720c5da6d65b5ecb6db02a4f4f Mon Sep 17 00:00:00 2001 From: Dotan Nahum Date: Sun, 13 Oct 2024 10:58:26 +0300 Subject: [PATCH] v0.10.1 --- Cargo.toml | 2 +- src/cli.rs | 2 ++ starters/lightweight-service/Cargo.lock | 4 +--- starters/lightweight-service/Cargo.toml | 4 ++-- starters/rest-api/Cargo.lock | 4 +--- starters/rest-api/Cargo.toml | 4 ++-- starters/rest-api/migration/Cargo.toml | 2 +- starters/saas/Cargo.lock | 4 +--- starters/saas/Cargo.toml | 4 ++-- starters/saas/migration/Cargo.toml | 2 +- 10 files changed, 14 insertions(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 100aaa7b5..e5df7eebb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "Apache-2.0" [package] name = "loco-rs" -version = "0.10.0" +version = "0.10.1" description = "The one-person framework for Rust" homepage = "https://loco.rs/" documentation = "https://docs.rs/loco-rs" diff --git a/src/cli.rs b/src/cli.rs index 8e8d2c639..fa3b7b19e 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -557,6 +557,8 @@ pub async fn main() -> crate::Result<()> { #[cfg(not(feature = "with-db"))] pub async fn main() -> crate::Result<()> { + use colored::Colorize; + let cli = Cli::parse(); let environment: Environment = cli.environment.unwrap_or_else(resolve_from_env).into(); diff --git a/starters/lightweight-service/Cargo.lock b/starters/lightweight-service/Cargo.lock index 7907b2fd9..43d503eef 100644 --- a/starters/lightweight-service/Cargo.lock +++ b/starters/lightweight-service/Cargo.lock @@ -1418,9 +1418,7 @@ dependencies = [ [[package]] name = "loco-rs" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98ca1650813e4ae45ff19b94fa0e6901517c339292418c2ed9f3768e7a562feb" +version = "0.10.1" dependencies = [ "argon2", "async-trait", diff --git a/starters/lightweight-service/Cargo.toml b/starters/lightweight-service/Cargo.toml index 7dec18375..861062bba 100644 --- a/starters/lightweight-service/Cargo.toml +++ b/starters/lightweight-service/Cargo.toml @@ -11,7 +11,7 @@ default-run = "loco_starter_template-cli" [dependencies] -loco-rs = { version = "0.10.0", default-features = false, features = ["cli"] } +loco-rs = { version = "0.10.1", default-features = false, features = ["cli"] } serde = "1" serde_json = "1" tokio = { version = "1.33.0", default-features = false, features = [ @@ -35,7 +35,7 @@ required-features = [] [dev-dependencies] serial_test = "3.1.1" rstest = "0.21.0" -loco-rs = { version = "0.10.0", default-features = false, features = [ +loco-rs = { version = "0.10.1", default-features = false, features = [ "testing", "cli", ] } diff --git a/starters/rest-api/Cargo.lock b/starters/rest-api/Cargo.lock index 8fcdb9561..b30a8dd9a 100644 --- a/starters/rest-api/Cargo.lock +++ b/starters/rest-api/Cargo.lock @@ -2177,9 +2177,7 @@ dependencies = [ [[package]] name = "loco-rs" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98ca1650813e4ae45ff19b94fa0e6901517c339292418c2ed9f3768e7a562feb" +version = "0.10.1" dependencies = [ "argon2", "async-trait", diff --git a/starters/rest-api/Cargo.toml b/starters/rest-api/Cargo.toml index 4c71e4c1c..b4b5c2a96 100644 --- a/starters/rest-api/Cargo.toml +++ b/starters/rest-api/Cargo.toml @@ -11,7 +11,7 @@ default-run = "loco_starter_template-cli" [dependencies] -loco-rs = { version = "0.10.0" } +loco-rs = { version = "0.10.1" } migration = { path = "migration" } serde = { version = "1", features = ["derive"] } @@ -46,5 +46,5 @@ required-features = [] [dev-dependencies] serial_test = "3.1.1" rstest = "0.21.0" -loco-rs = { version = "0.10.0", features = ["testing"] } +loco-rs = { version = "0.10.1", features = ["testing"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } diff --git a/starters/rest-api/migration/Cargo.toml b/starters/rest-api/migration/Cargo.toml index 26fc018b6..bf79cfe14 100644 --- a/starters/rest-api/migration/Cargo.toml +++ b/starters/rest-api/migration/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [dependencies] async-std = { version = "1", features = ["attributes", "tokio1"] } -loco-rs = { version = "0.10.0" } +loco-rs = { version = "0.10.1" } [dependencies.sea-orm-migration] version = "1.0.0" diff --git a/starters/saas/Cargo.lock b/starters/saas/Cargo.lock index 551d53a27..e2c8fd6ea 100644 --- a/starters/saas/Cargo.lock +++ b/starters/saas/Cargo.lock @@ -2312,9 +2312,7 @@ dependencies = [ [[package]] name = "loco-rs" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98ca1650813e4ae45ff19b94fa0e6901517c339292418c2ed9f3768e7a562feb" +version = "0.10.1" dependencies = [ "argon2", "async-trait", diff --git a/starters/saas/Cargo.toml b/starters/saas/Cargo.toml index b3a56ca21..1711f7a90 100644 --- a/starters/saas/Cargo.toml +++ b/starters/saas/Cargo.toml @@ -11,7 +11,7 @@ default-run = "loco_starter_template-cli" [dependencies] -loco-rs = { version = "0.10.0" } +loco-rs = { version = "0.10.1" } migration = { path = "migration" } serde = { version = "1", features = ["derive"] } @@ -51,5 +51,5 @@ required-features = [] [dev-dependencies] serial_test = "3.1.1" rstest = "0.21.0" -loco-rs = { version = "0.10.0", features = ["testing"] } +loco-rs = { version = "0.10.1", features = ["testing"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } diff --git a/starters/saas/migration/Cargo.toml b/starters/saas/migration/Cargo.toml index 26fc018b6..bf79cfe14 100644 --- a/starters/saas/migration/Cargo.toml +++ b/starters/saas/migration/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [dependencies] async-std = { version = "1", features = ["attributes", "tokio1"] } -loco-rs = { version = "0.10.0" } +loco-rs = { version = "0.10.1" } [dependencies.sea-orm-migration] version = "1.0.0"