-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
31 lines (28 loc) · 986 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "yt-cli-live"
version = "0.1.1"
edition = "2021"
authors = ["ckaznable <[email protected]>"]
description = "youtube text streaming in cli"
repository = "https://github.com/ckaznable/yt-cli-live"
license = "MIT"
keywords = ["youtube", "cli", "whisper"]
[dependencies]
whisper-rs = { git = "https://github.com/ckaznable-archive/whisper-rs.git", branch = "master" }
symphonia = { version = "0.5.2", features=["aac", "mpa"] }
clap = { version = "4.2.7", features = ["derive"] }
ringbuf = "0.3.3"
tract-onnx = "0.17.9"
rubato = "0.14.1"
owo-colors = "3.5.0"
yt_tsu = "0.1.1"
opencc-rust = { version = "1.1.15", optional = true }
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*
[features]
default = []
zh = ["opencc-rust/static-dictionaries"]