-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
100 lines (88 loc) · 2.24 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
[package]
name="liwan"
version="0.1.1"
edition="2021"
rust-version="1.82"
repository="https://github.com/explodingcamera/liwan"
license="AGPL-3.0-only OR LicenseRef-Liwan"
publish=false
[lib]
path="src/lib.rs"
[[bin]]
name="liwan"
path="src/main.rs"
[dependencies]
# async/concurrency
tokio={version="1.38", default-features=false, features=["macros", "rt-multi-thread"]}
tokio-util={version="0.7", features=["io"]}
futures-util="0.3"
crossbeam-utils="0.8"
crossbeam-channel="0.5"
quick_cache="0.6"
# encoding
hex={version="0.4"}
bs58="0.5"
serde={version="1.0", features=["derive"]}
serde_json={version="1.0"}
md-5="0.10"
async-compression={version="0.4", default-features=false, features=["gzip"]}
tokio-tar={package="krata-tokio-tar", version="0.4"}
sha3={version="0.10"}
argon2={version="0.5"}
# general
argh={version="0.1"}
eyre={version="0.6"}
rand={version="0.8"}
time={version="0.3"}
colored={version="2.1"}
figment={version="0.10", features=["toml", "env"]}
tracing={version="0.1", default-features=false, features=["std"]}
tracing-subscriber={version="0.3", features=["env-filter"]}
# web
poem={version="3.1", default-features=false, features=[
"time",
"embed",
"cookie",
"compression",
"tower-compat",
]}
poem-openapi={version="5.1", default-features=false, features=["time"]}
tower={version="0.5", default-features=false, features=["limit"]}
uaparser="0.6"
mime_guess={version="2.0"}
rust-embed={version="8.5"}
reqwest={version="0.12", default-features=false, features=[
"json",
"stream",
"charset",
"rustls-tls",
]}
# database
duckdb={version="1.1", git="https://github.com/explodingcamera-contrib/duckdb-rs", features=[
"bundled",
"time",
"r2d2",
]}
rusqlite={version="0.32", features=["bundled", "time"]}
r2d2={version="0.8"}
r2d2_sqlite="0.25"
refinery={version="0.8", default-features=false}
refinery-core={version="0.8", default-features=false}
maxminddb={version="0.24", optional=true}
[dev-dependencies]
figment={version="*", features=["test"]}
poem={version="*", features=["test"]}
cookie={version="*"}
[features]
default=["geoip"]
geoip=["dep:maxminddb"]
_enable_seeding=[]
[profile.dev]
opt-level=1
incremental=true
[profile.release]
lto="thin"
strip=true
opt-level=2
[profile.release.package.duckdb]
opt-level=3