Skip to content

Commit b140eb6

Browse files
release 0.3.0: reliability, integrity, diagnostics and dependency overhaul
1 parent abf465e commit b140eb6

15 files changed

Lines changed: 1903 additions & 409 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,32 @@ jobs:
4141
- run: cargo clippy --locked --all-targets --all-features -- -D warnings
4242
- run: cargo test --locked --all-targets --all-features
4343

44+
- name: cli smoke
45+
run: |
46+
cargo run --locked --quiet -- --version
47+
cargo run --locked --quiet -- --doctor || test $? -eq 1
48+
cargo run --locked --quiet -- --help >/dev/null
49+
50+
msrv:
51+
name: msrv (1.90)
52+
runs-on: ubuntu-latest
53+
timeout-minutes: 20
54+
55+
steps:
56+
- uses: actions/checkout@v7
57+
58+
- uses: dtolnay/rust-toolchain@master
59+
with:
60+
toolchain: "1.90.0"
61+
62+
- uses: Swatinem/rust-cache@v2
63+
64+
- run: |
65+
sudo apt-get update
66+
sudo apt-get install -y clang libclang-dev cmake pkg-config
67+
68+
- run: cargo check --locked --all-targets
69+
4470
release:
4571
name: release (${{ matrix.target }})
4672
needs: check
@@ -91,6 +117,17 @@ jobs:
91117
mkdir -p dist
92118
cp "target/${{ matrix.target }}/release/${{ matrix.binary }}" "dist/${{ matrix.asset }}"
93119
test -s "dist/${{ matrix.asset }}"
120+
"target/${{ matrix.target }}/release/${{ matrix.binary }}" --version
121+
122+
- name: checksums
123+
shell: bash
124+
run: |
125+
cd dist
126+
if command -v sha256sum >/dev/null 2>&1; then
127+
sha256sum "${{ matrix.asset }}" > SHA256SUMS
128+
else
129+
shasum -a 256 "${{ matrix.asset }}" > SHA256SUMS
130+
fi
94131
95132
# each target uploads its own binary. no generated notes, no body edits:
96133
# three matrix jobs appending notes gave us three changelog links.

‎Cargo.lock‎

Lines changed: 45 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# the crates.io name "scribe" was taken years ago. the command is still
33
# `scribe`; only the package name had to get creative.
44
name = "scribe-tui"
5-
version = "0.2.0"
5+
version = "0.3.0"
66
edition = "2024"
7-
rust-version = "1.88"
7+
rust-version = "1.90"
88
description = "local, offline, cpu-only speech to text in the terminal"
99
license = "MIT"
1010
readme = "readme.md"
@@ -42,9 +42,9 @@ unicode-width = "0.2.3"
4242
# worker thread, so the tui event loop remains synchronous.
4343
yt-dlp = { version = "2.10.0", default-features = false, features = ["cache-json", "rustls"] }
4444
# minimal tokio for the current-thread runtime used by the yt-dlp wrapper.
45-
tokio = { version = "1", features = ["rt", "fs", "process", "time", "sync"] }
45+
tokio = { version = "1.54.1", features = ["rt", "fs", "process", "time", "sync"] }
4646
# sha256 verification of downloaded model files against the upstream table.
47-
sha2 = "0.10"
47+
sha2 = "0.11.1"
4848
# locate ffprobe on path; used by the duration detector in worker.rs.
4949
which = "8"
5050

0 commit comments

Comments
 (0)