forge
Explore
Log in

Don't you dare go Hollow

im

Clone
★ 0

0 watching0 forksRustAGPL-3.0542.8 KiBb9f0726Tahinli27 days ago34 commits

Cargo.toml71 lines, 2.3 KiBHistoryRawDownload
1[workspace]
2resolver = "3"
3members = [
4 "crates/im-core",
5 "crates/im-web",
6]
7
8[workspace.package]
9version = "0.1.0"
10edition = "2024"
11license = "AGPL-3.0-or-later"
12
13[workspace.dependencies]
14argon2 = "0.6.0"
15base64 = "0.23.1"
16chacha20poly1305 = "0.11.0"
17ed25519-dalek = { version = "3.0.0", features = ["rand_core"] }
18futures-util = "0.3.34"
19grass = "0.13.4"
20hex = "0.4.3"
21hmac = "0.13.0"
22image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp", "gif"] }
23lettre = { version = "0.11.23", default-features = false, features = ["builder", "smtp-transport", "tokio1", "tokio1-rustls-tls"] }
24jiff = { version = "0.2.38", default-features = false, features = ["std", "tzdb-bundle-always"] }
25http = "1.5.0"
26ipnet = "2.12.2"
27reqwest = { version = "0.13.5", default-features = false, features = ["form", "rustls"] }
28qrcode = { version = "0.14.1", default-features = false, features = ["svg"] }
29rand = "0.10.3"
30serde = { version = "1.0.229", features = ["derive"] }
31serde_json = "1.0.154"
32sha1 = "0.11.0"
33sha2 = "0.11.1"
34subtle = "2.6.1"
35thiserror = "2.0.21"
36time = { version = "0.3.55", features = ["formatting", "parsing", "macros"] }
37tokio = { version = "1.54.1", features = ["sync", "rt", "rt-multi-thread", "macros"] }
38toml = "1.1.8"
39tracing = "0.1.44"
40tracing-subscriber = "0.3.23"
41# Without the default `fts` feature: no app uses full-text search, and it pulls in tantivy and zstd.
42turso = { version = "0.8.3", default-features = false, features = ["mimalloc"] }
43ulid = "3.0.0"
44tempfile = "3.27.0"
45# web framework
46topcoat = { version = "0.11.0", default-features = false, features = ["router", "view", "runtime", "cookie", "asset", "serve", "sse", "discover", "multipart"] }
47# internal crates
48im-core = { path = "crates/im-core" }
49
50[workspace.lints.rust]
51unsafe_code = "forbid"
52
53[profile.dev]
54# Line tables keep file:line in backtraces but drop variable info; binaries and links are much smaller.
55debug = "line-tables-only"
56
57[profile.dev.package.argon2]
58# Password hashing (argon2id) takes hundreds of ms per call when unoptimized; release is unaffected.
59opt-level = 3
60
61[profile.dev.package.sha2]
62# Hashing session and token digests on every request is too slow unoptimized.
63opt-level = 3
64
65[profile.dev.package.turso]
66# The embedded database engine is too slow unoptimized to run the store tests quickly.
67opt-level = 3
68
69[profile.release]
70lto = true
71codegen-units = 1