forked from Xerxes-2/clewdr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
114 lines (108 loc) · 3.15 KB
/
Copy pathCargo.toml
File metadata and controls
114 lines (108 loc) · 3.15 KB
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
[package]
name = "clewdr"
version = "0.11.15"
edition = "2024"
authors = ["Xerxes-2"]
license = "AGPL-3.0"
[lib]
path = "src/lib.rs"
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
[dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] }
wreq = { version = "5", features = [
"cookies",
"json",
"multipart",
"socks",
"stream",
] }
wreq-util = "2"
serde_json = "1"
const_format = { version = "0.2", features = ["fmt"] }
serde = { version = "1", features = ["derive"] }
colored = "3"
axum = { version = "0.8", features = ["macros"] }
regex = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["chrono", "env-filter"] }
chrono = "0.4"
futures = "0.3"
thiserror = "2"
uuid = { version = "1", features = ["v4"] }
clap = { version = "4", features = ["derive"] }
base64 = "0.22"
itertools = "0.14"
toml = "0.9"
eventsource-stream = "0.2"
tracing-appender = "0.2"
self-replace = { version = "1", optional = true }
zip = { version = "5", optional = true, default-features = false, features = [
"deflate",
] }
tempfile = { version = "3", optional = true }
axum-auth = "0.8"
tiktoken-rs = "0.7"
passwords = "3"
tower-http = { version = "0.6", features = [
"compression-zstd",
"cors",
"trace",
] }
include_dir = { version = "0.7", optional = true }
tower-serve-static = { version = "0.1", optional = true }
figment = { version = "0.10", features = ["env", "toml"] }
arc-swap = "1"
url = { version = "2", features = ["serde"] }
strum = { version = "0.27", features = ["derive"] }
moka = { version = "0.12", features = ["sync"] }
tower = "0.5"
bytes = "1"
trie-rs = "0.4"
async-stream = "0.3"
struct_iterable = "0.1"
console-subscriber = { version = "0.4", optional = true }
yup-oauth2 = { version = "12", default-features = false, features = [
"aws-lc-rs",
"hyper-rustls",
"service-account",
] }
hyper-util = "0.1"
hyper-http-proxy = "1"
http = "1"
snafu = { version = "0.8", features = ["futures", "rust_1_81"] }
serde_with = { version = "3", features = ["chrono_0_4"] }
oauth2 = { version = "5", default-features = false }
ractor = "0.15"
mimalloc = { version = "0.1", optional = true }
dhat = { version = "0", optional = true }
etcetera = { version = "0", optional = true }
libsqlite3-sys = { version = "0.26.0", optional = true, features = ["bundled"] }
sea-orm = { version = "0.12", optional = true, default-features = false, features = [
"macros",
"runtime-tokio-rustls"
] }
sha2 = "0.10"
rand = "0.8"
once_cell = "1"
htmlescape = "0.3"
hex = "0.4"
[target.'cfg(windows)'.dependencies]
enable-ansi-support = "0.2"
[features]
default = ["portable", "external-resource"]
tokio-console = ["dep:console-subscriber", "tokio/tracing"]
portable = ["dep:zip", "dep:self-replace", "dep:tempfile"]
xdg = ["dep:etcetera"]
embed-resource = ["dep:tower-serve-static", "dep:include_dir"]
external-resource = ["tower-http/fs"]
mimalloc = ["dep:mimalloc"]
dhat-heap = ["dep:dhat"]
db = []
db-sqlite = ["db", "dep:sea-orm", "sea-orm/sqlx-sqlite", "dep:libsqlite3-sys"]
db-postgres = ["db", "dep:sea-orm", "sea-orm/sqlx-postgres"]
db-mysql = ["db", "dep:sea-orm", "sea-orm/sqlx-mysql"]