forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
25 lines (23 loc) · 981 Bytes
/
Copy pathCargo.toml
File metadata and controls
25 lines (23 loc) · 981 Bytes
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
[package]
name = "omi-device"
version = "0.1.0"
edition = "2021"
description = "Omi device BLE protocol helpers + optional STT engines"
license = "MIT"
[features]
default = []
# Optional BLE transport via btleplug (needs local adapter + OS Bluetooth permission).
ble = ["dep:btleplug", "dep:tokio", "dep:uuid", "dep:futures-util"]
stt-deepgram = ["dep:tokio-tungstenite", "dep:tokio", "dep:futures-util", "dep:http"]
stt-parakeet = ["dep:tokio-tungstenite", "dep:tokio", "dep:futures-util"]
stt-whisper = []
stt-all = ["stt-deepgram", "stt-parakeet", "stt-whisper"]
[dependencies]
tokio = { version = "1", features = ["rt", "macros", "sync", "time", "net"], optional = true }
tokio-tungstenite = { version = "0.24", optional = true, features = ["native-tls"] }
futures-util = { version = "0.3", optional = true }
http = { version = "1", optional = true }
btleplug = { version = "0.12", optional = true }
uuid = { version = "1", optional = true }
serde_json = "1"
thiserror = "1"