mingyang91 commited on
Commit
6674c91
·
verified ·
1 Parent(s): 5b9ecd0
Files changed (1) hide show
  1. Cargo.toml +5 -2
Cargo.toml CHANGED
@@ -14,9 +14,9 @@ tokio-stream = "0.1.14"
14
  async-stream = "0.3.5"
15
  futures-util = "0.3.28"
16
  serde = { version = "1.0.189", features = ["derive"] }
17
- serde_json = { version = "1.0.107", features = [] }
18
  serde_yaml = "0.9.25"
19
- whisper-rs = { version = "0.8.0" , features = ["coreml"] }
20
  whisper-rs-sys = "0.6.1"
21
  tracing = "0.1.40"
22
  tracing-subscriber = "0.3.17"
@@ -25,3 +25,6 @@ lazy_static = "1.4.0"
25
  [dependencies.poem]
26
  version = "1.3.58"
27
  features = ["websocket", "static-files"]
 
 
 
 
14
  async-stream = "0.3.5"
15
  futures-util = "0.3.28"
16
  serde = { version = "1.0.189", features = ["derive"] }
17
+ serde_json = { version = "1.0.107" }
18
  serde_yaml = "0.9.25"
19
+ whisper-rs = { version = "0.8.0" }
20
  whisper-rs-sys = "0.6.1"
21
  tracing = "0.1.40"
22
  tracing-subscriber = "0.3.17"
 
25
  [dependencies.poem]
26
  version = "1.3.58"
27
  features = ["websocket", "static-files"]
28
+
29
+ [target.aarch64-apple-darwin.dependencies.whisper-rs]
30
+ features = ["coreml"]