polyhedron / Cargo.toml
mingyang91's picture
re-org code structure
2382376 verified
raw
history blame
1.3 kB
[package]
name = "polyhedron"
version = "0.1.0"
edition = "2021"
[lib]
name = "polyhedron"
path = "src/lib.rs"
[[bin]]
name = "polyhedron"
path = "src/main.rs"
[dependencies]
anyhow = "1.0"
async-stream = "0.3"
aws-config = "1.0.0"
aws-sdk-transcribestreaming = "0.39.0"
aws-sdk-translate = "0.39.0"
aws-sdk-polly = "0.39.0"
config = "0.13"
futures-util = "0.3"
once_cell = "1.18"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
tokio = { version = "1.33", features = ["macros", "rt-multi-thread", "sync", "signal"] }
tokio-stream = "0.1"
tracing = { version = "0.1", features = [] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
async-trait = "0.1.74"
lazy_static = "1.4.0"
base64 = { version = "0.21.5", features = [] }
[features]
whisper = ["dep:whisper"]
[dependencies.poem]
version = "1.3"
features = ["websocket", "static-files"]
[target.'cfg(target_os="macos")'.dependencies]
whisper = { path="whisper", features = ["metal", "coreml"], optional = true }
[target.'cfg(target_os="linux")'.dependencies]
whisper = { path="whisper", features = ["cuda"], optional = true }
[dev-dependencies]
tracing-test = "*"
poem = { version = "1.3", features = ["websocket", "static-files", "test"] }
tokio-tungstenite = "*"
hound = "*"