2023-05-25 21:05:28 +00:00
|
|
|
[package]
|
|
|
|
|
name = "tabby"
|
2023-10-14 00:54:14 +00:00
|
|
|
version = "0.4.0-dev"
|
2023-05-25 21:05:28 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2023-06-05 18:29:38 +00:00
|
|
|
ctranslate2-bindings = { path = "../ctranslate2-bindings" }
|
|
|
|
|
tabby-common = { path = "../tabby-common" }
|
2023-10-06 18:54:12 +00:00
|
|
|
tabby-scheduler = { path = "../tabby-scheduler" }
|
2023-06-05 18:40:24 +00:00
|
|
|
tabby-download = { path = "../tabby-download" }
|
2023-08-02 06:12:51 +00:00
|
|
|
tabby-inference = { path = "../tabby-inference" }
|
2023-05-25 21:05:28 +00:00
|
|
|
axum = "0.6"
|
|
|
|
|
hyper = { version = "0.14", features = ["full"] }
|
2023-06-04 06:23:31 +00:00
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2023-05-25 21:05:28 +00:00
|
|
|
tower = "0.4"
|
|
|
|
|
utoipa = { version = "3.3", features = ["axum_extras", "preserve_order"] }
|
|
|
|
|
utoipa-swagger-ui = { version = "3.1", features = ["axum"] }
|
2023-05-30 22:44:29 +00:00
|
|
|
serde = { workspace = true }
|
|
|
|
|
serdeconv = { workspace = true }
|
2023-09-26 18:52:11 +00:00
|
|
|
serde_json = { workspace = true }
|
2023-10-10 01:44:55 +00:00
|
|
|
tower-http = { version = "0.4.0", features = ["cors", "timeout"] }
|
2023-05-25 21:05:28 +00:00
|
|
|
clap = { version = "4.3.0", features = ["derive"] }
|
2023-05-30 22:44:29 +00:00
|
|
|
lazy_static = { workspace = true }
|
2023-09-29 22:51:54 +00:00
|
|
|
rust-embed = "8.0.0"
|
2023-05-28 08:17:32 +00:00
|
|
|
mime_guess = "2.0.4"
|
2023-05-28 21:36:11 +00:00
|
|
|
strum = { version = "0.24", features = ["derive"] }
|
2023-06-02 23:47:48 +00:00
|
|
|
strfmt = "0.2.4"
|
2023-06-05 18:29:38 +00:00
|
|
|
tracing = { workspace = true }
|
|
|
|
|
tracing-subscriber = { workspace = true }
|
2023-06-11 05:46:25 +00:00
|
|
|
opentelemetry = { version = "0.18.0", features = ["rt-tokio"] }
|
|
|
|
|
opentelemetry-otlp = "0.11.0"
|
|
|
|
|
axum-tracing-opentelemetry = "0.10.0"
|
|
|
|
|
tracing-opentelemetry = "0.18.0"
|
2023-07-13 09:05:41 +00:00
|
|
|
tantivy = { workspace = true }
|
|
|
|
|
anyhow = { workspace = true }
|
2023-08-15 15:22:03 +00:00
|
|
|
sysinfo = "0.29.8"
|
2023-08-21 10:06:38 +00:00
|
|
|
nvml-wrapper = "0.9.0"
|
2023-09-09 11:22:58 +00:00
|
|
|
http-api-bindings = { path = "../http-api-bindings" }
|
2023-09-28 17:20:50 +00:00
|
|
|
futures = { workspace = true }
|
|
|
|
|
async-stream = { workspace = true }
|
|
|
|
|
axum-streams = { version = "0.9.1", features = ["json"] }
|
2023-10-02 15:39:15 +00:00
|
|
|
minijinja = { version = "1.0.8", features = ["loader"] }
|
2023-10-13 02:27:52 +00:00
|
|
|
textdistance = "1.0.2"
|
|
|
|
|
regex.workspace = true
|
2023-10-14 09:21:17 +00:00
|
|
|
thiserror.workspace = true
|
2023-09-05 05:03:49 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(all(target_os="macos", target_arch="aarch64"))'.dependencies]
|
|
|
|
|
llama-cpp-bindings = { path = "../llama-cpp-bindings" }
|
2023-05-25 21:05:28 +00:00
|
|
|
|
|
|
|
|
[dependencies.uuid]
|
|
|
|
|
version = "1.3.3"
|
|
|
|
|
features = [
|
|
|
|
|
"v4", # Lets you generate random UUIDs
|
|
|
|
|
"fast-rng", # Use a faster (but still sufficiently random) RNG
|
|
|
|
|
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
|
|
|
|
|
]
|
2023-05-27 07:05:56 +00:00
|
|
|
|
|
|
|
|
[features]
|
2023-05-28 08:17:32 +00:00
|
|
|
link_shared = ["ctranslate2-bindings/link_shared"]
|
2023-08-20 15:21:12 +00:00
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
|
vergen = { version = "8.0.0", features = ["build", "git", "gitcl"] }
|
2023-10-16 08:06:37 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
assert-json-diff = "2.0.2"
|
|
|
|
|
reqwest.workspace = true
|