From a6f0d8021abc47c369dd44f08645aaea8fada59a Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Thu, 12 Sep 2024 00:15:33 +0000 Subject: [PATCH] fix version --- Cargo.lock | 2 +- sbv2_api/Cargo.toml | 2 +- sbv2_api/src/main.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4808321..f74f29b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1752,7 +1752,7 @@ dependencies = [ [[package]] name = "sbv2_core" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "dotenvy", diff --git a/sbv2_api/Cargo.toml b/sbv2_api/Cargo.toml index 11196c8..479642a 100644 --- a/sbv2_api/Cargo.toml +++ b/sbv2_api/Cargo.toml @@ -9,7 +9,7 @@ axum = "0.7.5" dotenvy.workspace = true env_logger = "0.11.5" log = "0.4.22" -sbv2_core = { version = "0.1.0", path = "../sbv2_core" } +sbv2_core = { version = "0.1.1", path = "../sbv2_core" } serde = { version = "1.0.210", features = ["derive"] } tokio = { version = "1.40.0", features = ["full"] } diff --git a/sbv2_api/src/main.rs b/sbv2_api/src/main.rs index 3b015d2..e8f8d8a 100644 --- a/sbv2_api/src/main.rs +++ b/sbv2_api/src/main.rs @@ -26,6 +26,7 @@ fn sdp_default() -> f32 { fn length_default() -> f32 { 1.0 } + #[derive(Deserialize)] struct SynthesizeRequest { text: String,