2022-10-08 04:30:12 -06:00
|
|
|
[package]
|
2022-10-17 06:59:00 -06:00
|
|
|
name = "text-generation-router"
|
2022-10-17 10:27:33 -06:00
|
|
|
description = "Text Generation Webserver"
|
2023-04-18 08:16:06 -06:00
|
|
|
build = "build.rs"
|
2023-05-09 05:19:31 -06:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
homepage.workspace = true
|
2022-10-08 04:30:12 -06:00
|
|
|
|
2022-10-17 06:59:00 -06:00
|
|
|
[lib]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "text-generation-router"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2022-10-08 04:30:12 -06:00
|
|
|
[dependencies]
|
2023-01-31 09:04:00 -07:00
|
|
|
async-stream = "0.3.3"
|
2023-02-03 04:43:37 -07:00
|
|
|
axum = { version = "0.6.4", features = ["json"] }
|
2023-04-13 04:43:05 -06:00
|
|
|
axum-tracing-opentelemetry = "0.10.0"
|
2022-10-28 11:24:00 -06:00
|
|
|
text-generation-client = { path = "client" }
|
2023-02-13 05:02:45 -07:00
|
|
|
clap = { version = "4.1.4", features = ["derive", "env"] }
|
2023-04-09 12:22:27 -06:00
|
|
|
flume = "0.10.14"
|
2023-02-13 05:02:45 -07:00
|
|
|
futures = "0.3.26"
|
2023-07-01 11:25:41 -06:00
|
|
|
metrics = "0.21.0"
|
|
|
|
metrics-exporter-prometheus = { version = "0.12.1", features = [] }
|
2023-01-26 08:29:13 -07:00
|
|
|
nohash-hasher = "0.2.0"
|
2023-07-01 11:25:41 -06:00
|
|
|
opentelemetry = { version = "0.19.0", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = "0.12.0"
|
2023-01-31 08:01:15 -07:00
|
|
|
rand = "0.8.5"
|
2023-04-18 08:16:06 -06:00
|
|
|
reqwest = { version = "0.11.14", features = [] }
|
2023-02-13 05:02:45 -07:00
|
|
|
serde = "1.0.152"
|
|
|
|
serde_json = "1.0.93"
|
|
|
|
thiserror = "1.0.38"
|
2023-04-09 12:22:27 -06:00
|
|
|
tokenizers = "0.13.3"
|
2023-02-13 05:02:45 -07:00
|
|
|
tokio = { version = "1.25.0", features = ["rt", "rt-multi-thread", "parking_lot", "signal", "sync"] }
|
2023-04-13 04:43:05 -06:00
|
|
|
tower-http = { version = "0.4.0", features = ["cors"] }
|
2023-02-13 05:02:45 -07:00
|
|
|
tracing = "0.1.37"
|
2023-07-01 11:25:41 -06:00
|
|
|
tracing-opentelemetry = "0.19.0"
|
2023-02-13 05:02:45 -07:00
|
|
|
tracing-subscriber = { version = "0.3.16", features = ["json", "env-filter"] }
|
2023-02-03 04:43:37 -07:00
|
|
|
utoipa = { version = "3.0.1", features = ["axum_extras"] }
|
|
|
|
utoipa-swagger-ui = { version = "3.0.2", features = ["axum"] }
|
2023-06-16 08:25:11 -06:00
|
|
|
ngrok = { version = "0.12.3", features = ["axum"], optional = true }
|
2022-10-08 04:30:12 -06:00
|
|
|
|
2023-04-18 08:16:06 -06:00
|
|
|
[build-dependencies]
|
|
|
|
vergen = { version = "8.0.0", features = ["build", "git", "gitcl"] }
|
2023-06-16 08:25:11 -06:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["ngrok"]
|
|
|
|
ngrok = ["dep:ngrok"]
|