This repository was archived by the owner on Apr 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (96 loc) · 3.73 KB
/
Copy pathCargo.toml
File metadata and controls
105 lines (96 loc) · 3.73 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
[workspace]
resolver = "2"
members = ["echo-macros"]
[workspace.package]
version = "0.1.0"
edition = "2024"
[package]
name = "echo"
version.workspace = true
edition.workspace = true
[dependencies]
abv = "0.3.0"
ahash = { version = "0.8.12", features = ["serde"] }
ammonia = "4.1.2"
anyhow = "1.0.100"
axum = { version = "0.8.6", features = ["macros", "json"] }
base64 = "0.22.1"
bitvec = { version = "1.0.1", features = ["atomic"] }
bytes = { version = "1.10.1", features = ["serde"] }
clap = { version = "4.5.48", features = ["derive"] }
cookie = { version = "0.18.1", features = ["secure"] }
echo-macros = { path = "./echo-macros" }
figment = { version = "0.10.19", features = ["env", "toml"] }
frunk = "0.4.4"
futures = "0.3.31"
hex = "0.4.3"
hmac = "0.12.1"
html5ever = "0.35.0"
infer = "0.19.0"
leptos = { version = "0.8.10", features = ["ssr", "nightly"] }
libsqlite3-sys = { version = "=0.30.1", optional = true, features = ["bundled-sqlcipher"] } # should sync with sqlx
maplit = "1.0.2"
markup5ever = "0.35.0"
markup5ever_rcdom = "0.35.0"
moka = { version = "0.12.11", features = ["logging", "future"] }
once_cell = "1.21.3"
parking_lot = "0.12.5"
paste = "1.0.15"
ph = { version = "0.10.0", features = ["gxhash"] }
phf = { version = "0.13.1", features = ["macros", "serde"] }
prost = "0.14.1"
rand = { version = "0.9.2", features = ["std"] }
rmp-serde = "1.3.0"
rpassword = { version = "7.4.0", optional = true }
scc = "3.3.1"
serde = "1.0.228"
serde-inline-default = "1.0.0"
serde_json = "1.0.145"
serde_urlencoded = "0.7.1"
serde_with = { version = "3.15.0", features = ["base64"] }
sha1 = "0.10.6"
sha2 = "0.10.9"
shadow-rs = { version = "1.4.0", default-features = false }
smallvec = "1.15.1"
sqlx = { version = "0.8.6", features = ["runtime-tokio", "sqlite", "macros", "time", "json", "uuid"] }
tempfile = "3.23.0"
thiserror = "2.0.17"
time = { version = "0.3.44", features = ["serde"] }
tokio = { version = "1.47.1", features = ["rt", "rt-multi-thread", "macros", "net", "signal", "fs", "test-util", "parking_lot"] }
tokio-util = { version = "0.7.16", features = ["codec", "io"] }
totp-rs = { version = "5.7.0", features = ["qr", "serde_support"] }
tower = { version = "0.5.2", features = ["limit"] }
tower-cookies = { version = "0.11.0", features = ["private"] }
tower-http = { version = "0.6.6", features = ["trace", "request-id", "fs"] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.20", features = ["env-filter", "parking_lot"] }
unicode-segmentation = "1.12.0"
url = "2.5.7"
uuid = { version = "1.18.1", features = ["v4", "v5", "serde"] }
webauthn-rs = { version = "0.5.2", features = ["danger-allow-state-serialisation"] }
[target.'cfg(target_os = "windows")'.dependencies]
mimalloc = { version = "0.1.48", optional = true }
openssl = { version = "=0.10.73", default-features = false } # should sync with webauthn-rs
[target.'cfg(any(target_family="unix"))'.dependencies]
tikv-jemallocator = { version = "<=0.5.4", optional = true } # v0.6.0 blocked by ph (actually rdst)
openssl = { version = "=0.10.73", default-features = false, features = ["vendored"] } # should sync with webauthn-rs
[dev-dependencies]
ctor = "0.6.0"
[build-dependencies]
shadow-rs = "1.4.0"
[features]
default = ["alternative-allocator", "migrate", "secure-cookie"]
# Use jemalloc on Unix-like systems (when possible) and mimalloc on Windows
alternative-allocator = ["dep:tikv-jemallocator", "dep:mimalloc"]
# Enable build-in database migrations (so, fxxk u RustRover)
migrate = ["sqlx/migrate"]
# Enable `Secure` flag for cookies (should be used in production with HTTPS)
secure-cookie = []
# Enables SQLcipher-based encryption for your echo database.
sqlcipher = ["dep:libsqlite3-sys", "dep:rpassword"]
[profile.release]
lto = true
codegen-units = 1
opt-level = "s"
debug = true
split-debuginfo = "packed"