From fd75699a3e9ab1c199f566a09951d8c99f467512 Mon Sep 17 00:00:00 2001 From: kxxt Date: Thu, 20 Apr 2023 22:38:38 +0800 Subject: [PATCH] chore: publish v5.1.0 --- CHANGELOG.md | 5 +++++ Cargo.lock | 2 +- Cargo.toml | 4 ++-- README.md | 6 +++--- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48099ed..d801423 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # aspeak Changelog +# v5.1.0 + +- Add binary feature to aspeak crate to make rust lib less bloated + - From now on, building the CLI requires `-F binary` flag. + # v5.0.1-alpha.2 - Add binary feature to make rust lib less bloated diff --git a/Cargo.lock b/Cargo.lock index d190114..9c1c8cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -65,7 +65,7 @@ checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" [[package]] name = "aspeak" -version = "5.0.1-alpha.2" +version = "5.1.0" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index d6c8bde..e98adda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aspeak" -version = "5.0.1-alpha.2" +version = "5.1.0" edition = "2021" authors = ["kxxt "] description = "A simple text-to-speech client for Azure TTS API." @@ -55,7 +55,7 @@ colored = "2.0.0" env_logger = { version = "0.10.0", optional = true } log = { version = "0.4.17", features = ["release_max_level_info"] } phf = { version = "0.11.1", features = ["macros"] } -reqwest = { version = "0.11.14", default_features = false, features = [ +reqwest = { version = "0.11.14", default-features = false, features = [ "json", "native-tls", "socks", diff --git a/README.md b/README.md index 76fe108..fa0881c 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ From v4.1.0, You can install `aspeak-bin` from AUR. Installing from PyPI will also install the python binding of `aspeak` for you. Check [Library Usage#Python](#Python) for more information on using the python binding. ```bash -pip install -U aspeak==5.0.0 +pip install -U aspeak==5.1.0 ``` Now the prebuilt wheels are only available for x86_64 architecture. @@ -59,7 +59,7 @@ Because of manylinux compatibility issues, the wheels for linux are not availabl The easiest way to install `aspeak` from source is to use cargo: ```bash -cargo install aspeak +cargo install aspeak -F binary ``` Alternatively, you can also install `aspeak` from AUR. @@ -77,7 +77,7 @@ After cloning the repository and `cd` into the directory ```bash maturin build --release --strip -F python --bindings pyo3 --interpreter python --manifest-path Cargo.toml --out dist-pyo3 -maturin build --release --strip --bindings bin --interpreter python --manifest-path Cargo.toml --out dist-bin +maturin build --release --strip --bindings bin -F binary --interpreter python --manifest-path Cargo.toml --out dist-bin bash merge-wheel.bash ```