-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
116 lines (110 loc) · 2.55 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
[package]
name = "writing"
version = "1.4.2"
edition = "2021"
rust-version = "1.64"
description = ""
publish = false
repository = "https://github.com/yiwen-ai/writing"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["crates/*", "cmd/*"]
[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 = { version = "2.4", 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"] }
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 }
reqwest = { version = "0.11", features = [
"rustls-tls",
"rustls-tls-webpki-roots",
"json",
"gzip",
"trust-dns",
], default-features = false }
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 = "0.3"
serde_bytes = "0.11"
hyper = "0.14"
sha3 = "0.10"
meilisearch-sdk = "0.24"
[dev-dependencies]
faster-hex = "0.8"
hex-literal = "0.4.1"
[profile.release]
lto = true