File size: 1,362 Bytes
a446897
 
 
 
 
2382376
 
 
 
 
 
 
 
a446897
9ce120f
697a86c
b371670
113e2ba
 
 
9ce120f
819a8c6
3569cbd
819a8c6
2bb7b57
819a8c6
a1dd3ea
697a86c
b5d8a79
65f3e54
81301f1
ab6980a
786313f
81301f1
 
113e2ba
 
a446897
 
819a8c6
a446897
6674c91
9628f93
113e2ba
 
9628f93
113e2ba
9628f93
b5d8a79
 
254fd5f
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[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 = "1.3"
aws-sdk-translate = "1.3"
aws-sdk-polly = "1.3"
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]
default = []
whisper = ["whisper-rs"]

[dependencies.poem]
version = "1.3"
features = ["websocket", "static-files"]

[target.'cfg(target_os="macos")'.dependencies]
whisper-rs = { version = "0.10", features = ["metal", "coreml"], default-features = false, optional = true }
#
[target.'cfg(target_os="linux")'.dependencies]
whisper-rs = { version = "0.10", features = ["cuda"], default-features = false, optional = true }

[dev-dependencies]
tracing-test = "*"
poem = { version = "1.3", features = ["websocket", "static-files", "test"] }
tokio-tungstenite = "*"
hound = "*"