-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
101 lines (89 loc) · 2.1 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
[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=["rt-multi-thread"]}
tokio-util={version="0.7", features=["io"]}
futures-util="0.3"
crossbeam="0.8"
# 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="0.4"
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"}
cached="0.54"
itertools={version="0.13"}
time={version="0.3"}
colored={version="2.1"}
figment={version="0.10", features=["toml", "env"]}
tracing="0.1"
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="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"}
refinery-core="0.8"
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
[profile.dev.package.duckdb]
inherits="release"
[profile.dev.package.rusqlite]
inherits="release"