973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 1 | [package] |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 2 | name = "malice-worker" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 3 | version = "0.1.0" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 4 | edition = "2024" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 5 | publish = false |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 6 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 7 | # malice-worker's wasm profile needs are workspace-wide settings (debug info off |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 8 | # for dev, panic=abort and LTO for release) that would otherwise leak into |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 9 | # malice-server's native build if this crate stayed in the root workspace, so it |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 10 | # gets its own, like macltok's harness/web. |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 11 | [workspace] |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 12 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 13 | [lib] |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 14 | crate-type = ["cdylib", "rlib"] |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 15 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 16 | [target.'cfg(target_family = "wasm")'.dependencies] |
fe847416ebd8 | atagen | 2026-10-27 03:27 UTC | 17 | macltok = { git = "ssh://brewery@pls.lobotomise.me:33/atagen/macltok", rev = "3eee54c8ed63154fa8fe3d292e7556b4c19379fa", features = ["indexeddb", "serde", "mirror"] } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 18 | malice-core = { path = "../malice-core" } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 19 | ruma = { version = "0.16", default-features = false } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 20 | futures-util = { version = "0.3", default-features = false, features = ["std"] } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 21 | futures-channel = "0.3" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 22 | serde_json = "1" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 23 | # pinned exactly so flake.nix's wasmBindgenCli, built for this locked version, matches |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 24 | # what wasm-bindgen-test-runner needs at test time |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 25 | wasm-bindgen = "=0.2.128" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 26 | wasm-bindgen-futures = "=0.4.78" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 27 | js-sys = "=0.3.105" |
20fe182f3204 | atagen | 2026-10-26 05:50 UTC | 28 | tracing = "0.1" |
20fe182f3204 | atagen | 2026-10-26 05:50 UTC | 29 | tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "registry"] } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 30 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 31 | [dev-dependencies] |
06339d2de37a | atagen | 2026-10-26 10:58 UTC | 32 | matrix-sdk = { git = "ssh://brewery@pls.lobotomise.me:33/atagen/matrix-rust-sdk", rev = "dc40ad30111d649def7f985305d30beba96aa3be", default-features = false } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 33 | wasm-bindgen-test = "0.3" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 34 | web-sys = { version = "0.3", features = ["SharedWorkerGlobalScope"] } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 35 | gloo-timers = { version = "0.3", features = ["futures"] } |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 36 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 37 | [lints.rust] |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 38 | unsafe_code = "forbid" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 39 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 40 | # with debuginfo the test wasm balloons and can OOM the test runner, per macltok's |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 41 | # own harness/web/Cargo.toml |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 42 | [profile.dev] |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 43 | debug = false |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 44 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 45 | [profile.release] |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 46 | opt-level = "z" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 47 | lto = true |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 48 | codegen-units = 1 |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 49 | panic = "abort" |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 50 | strip = true |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 51 | |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 52 | [profile.release.package.pbkdf2] |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 53 | opt-level = 3 |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 54 | |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 55 | [profile.release.package.sha2] |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 56 | opt-level = 3 |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 57 | |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 58 | [profile.release.package.hmac] |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 59 | opt-level = 3 |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 60 | |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 61 | [profile.release.package.chacha20poly1305] |
aa3dce5114d0 | atagen | 2026-10-26 06:09 UTC | 62 | opt-level = 3 |