-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
118 lines (113 loc) · 2.68 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "jarvis"
version = "1.1.10"
edition = "2021"
rust-version = "1.64"
description = ""
publish = false
repository = "https://github.com/yiwen-ai/jarvis"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["crates/*"]
[workspace.dependencies]
anyhow = "1"
async-trait = "0.1"
axum = { version = "0.6", features = [
"headers",
"http1",
"http2",
"json",
"macros",
"matched-path",
"tokio",
"query",
], default-features = true }
bytes = "1"
base64 = "0.21"
ciborium = "0.2"
ciborium-io = "0.2"
isolang = { git = "https://github.com/yiwen-ai/isolang-rs.git", branch = "master", features = [
"english_names",
"lowercase_names",
"local_names",
"list_languages",
] }
libflate = "1"
log = "0.4"
mime = "0.3"
scylla = "0.9"
serde = "1"
serde_json = { version = "1", features = ["preserve_order"] }
structured-logger = "1"
tokio = { version = "1", features = [
"fs",
"io-util",
"io-std",
"macros",
"net",
"parking_lot",
"process",
"rt",
"rt-multi-thread",
"signal",
"sync",
"time",
], default-features = true }
uuid = { version = "1", features = ["fast-rng", "v4", "v8"] }
validator = { version = "0.16", features = ["derive", "phone"] }
xid = { git = "https://github.com/yiwen-ai/xid-rs.git", tag = "v1.1.0" }
zstd = "0.12"
[dependencies]
axum-web = { path = "crates/axum-web" }
scylla-orm = { path = "crates/scylla-orm" }
scylla-orm-macros = { path = "crates/scylla-orm-macros" }
anyhow = { workspace = true }
async-trait = { workspace = true }
axum = { workspace = true }
bytes = { workspace = true }
base64 = { workspace = true }
ciborium = { workspace = true }
ciborium-io = { workspace = true }
config = "0.13"
isolang = { workspace = true }
libflate = { workspace = true }
log = { workspace = true }
mime = { workspace = true }
scylla = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
structured-logger = { workspace = true }
tokio = { workspace = true }
tower = "0.4"
tower-http = { version = "0.4", features = [
"catch-panic",
"compression-gzip",
"compression-zstd",
"decompression-gzip",
"decompression-zstd",
"propagate-header",
] }
uuid = { workspace = true }
validator = { workspace = true }
xid = { workspace = true }
zstd = { workspace = true }
futures-util = "0.3"
hyper = "0.14"
lingua = "1"
qdrant-client = "1"
reqwest = { version = "0.11", features = [
"rustls-tls",
"rustls-tls-webpki-roots",
"json",
"gzip",
"trust-dns",
], default-features = false }
tiktoken-rs = "0.5"
async-openai = "0.14"
futures = "0.3"
sha3 = "0.10"
rand = "0.8"
finl_unicode = "1.2.0"
rustis = { version = "0.12", features = ["pool"] }
[profile.release]
lto = true