Skip to content

Commit fd40615

Browse files
committed
Bump transformrs to 1.0
1 parent 393f4be commit fd40615

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.1] - 2025-03-27
9+
10+
- Support additional text-to-speech providers (thanks to `transformrs` v1.0).
11+
812
## [1.0.0] - 2025-02-14
913

1014
Initial release.
1115

16+
[1.0.1]: https://github.com/transformrs/transformrs/compare/v1.0.0...v1.0.1
1217
[1.0.0]: https://github.com/rikhuijzer/trf/releases/tag/v1.0.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ futures-util = "0.3.31"
1414
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
1515
tracing-subscriber = "0.3"
1616
tracing = "0.1"
17-
transformrs = "0.6"
17+
transformrs = "1.0"
1818

1919
[dev-dependencies]
2020
assert_cmd = "2"

src/scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ echo "- ENSURE YOU ARE ON THE MAIN BRANCH"
2727
echo ""
2828
echo "- RUN 'cargo publish --dry-run --allow-dirty'"
2929
echo ""
30-
echo "- Update the version in `Cargo.toml`"
30+
echo "- Update the version in 'Cargo.toml'"
3131
echo ""
3232
echo "- PUSH A NEW COMMIT WITH MESSAGE 'Release $VERSION'"
3333
echo ""

src/tts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub(crate) async fn tts(args: &TextToSpeechArgs, key: &transformrs::Key, input:
7979
"Requesting text to speech for text of length {}...",
8080
input.len()
8181
);
82-
let resp = transformrs::text_to_speech::tts(key, &config, model.as_deref(), input)
82+
let resp = transformrs::text_to_speech::tts(&provider, key, &config, model.as_deref(), input)
8383
.await
8484
.unwrap()
8585
.structured()

0 commit comments

Comments
 (0)