hf_text-generation-inference/router/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

2022-10-08 04:30:12 -06:00
[package]
2022-10-17 06:59:00 -06:00
name = "text-generation-router"
2023-03-03 10:42:20 -07:00
version = "0.3.2"
2022-10-08 04:30:12 -06:00
edition = "2021"
2022-10-17 10:27:33 -06:00
authors = ["Olivier Dehaene"]
description = "Text Generation Webserver"
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]
async-stream = "0.3.3"
axum = { version = "0.6.4", features = ["json"] }
2023-02-13 05:02:45 -07:00
axum-tracing-opentelemetry = "0.9.0"
text-generation-client = { path = "client" }
2023-02-13 05:02:45 -07:00
clap = { version = "4.1.4", features = ["derive", "env"] }
futures = "0.3.26"
metrics = "0.20.1"
metrics-exporter-prometheus = { version = "0.11.0", features = [] }
nohash-hasher = "0.2.0"
2023-02-13 05:02:45 -07:00
opentelemetry = { version = "0.18.0", features = ["rt-tokio"] }
opentelemetry-otlp = "0.11.0"
2022-10-08 04:30:12 -06:00
parking_lot = "0.12.1"
rand = "0.8.5"
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"
tokenizers = "0.13.2"
tokio = { version = "1.25.0", features = ["rt", "rt-multi-thread", "parking_lot", "signal", "sync"] }
tokio-stream = "0.1.11"
tower-http = { version = "0.3.5", features = ["cors"] }
2023-02-13 05:02:45 -07:00
tracing = "0.1.37"
tracing-opentelemetry = "0.18.0"
tracing-subscriber = { version = "0.3.16", features = ["json", "env-filter"] }
utoipa = { version = "3.0.1", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "3.0.2", features = ["axum"] }
2022-10-08 04:30:12 -06:00