[workspace] resolver = "3" members = [ "crates/im-core", "crates/im-web", ] [workspace.package] version = "0.1.0" edition = "2024" license = "AGPL-3.0-or-later" [workspace.dependencies] argon2 = "0.6.0" base64 = "0.23.1" chacha20poly1305 = "0.11.0" ed25519-dalek = { version = "3.0.0", features = ["rand_core"] } futures-util = "0.3.34" grass = "0.13.4" hex = "0.4.3" hmac = "0.13.0" image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp", "gif"] } lettre = { version = "0.11.23", default-features = false, features = ["builder", "smtp-transport", "tokio1", "tokio1-rustls-tls"] } jiff = { version = "0.2.38", default-features = false, features = ["std", "tzdb-bundle-always"] } http = "1.5.0" ipnet = "2.12.2" reqwest = { version = "0.13.5", default-features = false, features = ["form", "rustls"] } qrcode = { version = "0.14.1", default-features = false, features = ["svg"] } rand = "0.10.3" serde = { version = "1.0.229", features = ["derive"] } serde_json = "1.0.154" sha1 = "0.11.0" sha2 = "0.11.1" subtle = "2.6.1" thiserror = "2.0.21" time = { version = "0.3.55", features = ["formatting", "parsing", "macros"] } tokio = { version = "1.54.1", features = ["sync", "rt", "rt-multi-thread", "macros"] } toml = "1.1.8" tracing = "0.1.44" tracing-subscriber = "0.3.23" # Without the default `fts` feature: no app uses full-text search, and it pulls in tantivy and zstd. turso = { version = "0.8.3", default-features = false, features = ["mimalloc"] } ulid = "3.0.0" tempfile = "3.27.0" # web framework topcoat = { version = "0.11.0", default-features = false, features = ["router", "view", "runtime", "cookie", "asset", "serve", "sse", "discover", "multipart"] } # internal crates im-core = { path = "crates/im-core" } [workspace.lints.rust] unsafe_code = "forbid" [profile.dev] # Line tables keep file:line in backtraces but drop variable info; binaries and links are much smaller. debug = "line-tables-only" [profile.dev.package.argon2] # Password hashing (argon2id) takes hundreds of ms per call when unoptimized; release is unaffected. opt-level = 3 [profile.dev.package.sha2] # Hashing session and token digests on every request is too slow unoptimized. opt-level = 3 [profile.dev.package.turso] # The embedded database engine is too slow unoptimized to run the store tests quickly. opt-level = 3 [profile.release] lto = true codegen-units = 1