-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
31 lines (28 loc) · 1.16 KB
/
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 = "tts-api-server"
version = "0.2.0"
edition = "2021"
[dependencies]
anyhow = "1.0.80"
clap = { version = "4.4.6", features = ["cargo", "derive"] }
endpoints = { version = "=0.17.2" }
hyper = { version = "0.14", features = ["full"] }
llama-core = { version = "=0.22.0", features = ["logging"], optional = true }
log = { version = "0.4.21", features = ["std", "kv", "kv_serde"] }
multipart-2021 = "0.19.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1"
tokio = { version = "^1.36", features = ["io-util", "fs", "net", "time", "rt", "macros"] }
uuid = { version = "1.4", features = ["v4", "fast-rng", "macro-diagnostics"] }
wasi-logger = { version = "0.1.2", features = ["kv"] }
once_cell = "1.18"
[features]
default = ["piper"]
piper = ["llama-core"]
gpt_sovits = []
[patch.crates-io]
socket2 = { git = "https://github.com/second-state/socket2.git", branch = "v0.5.x" }
reqwest = { git = "https://github.com/second-state/wasi_reqwest.git", branch = "0.11.x" }
hyper = { git = "https://github.com/second-state/wasi_hyper.git", branch = "v0.14.x" }
tokio = { git = "https://github.com/second-state/wasi_tokio.git", branch = "v1.36.x" }