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