[workspace] resolver = "2" members = ["crates/mtgc-core", "crates/mtgc-server", "src-tauri"] [workspace.package] version = "0.1.0" edition = "2021" license = "MIT" [workspace.dependencies] rusqlite = { version = "0.31", features = ["bundled", "functions"] } serde = { version = "1", features = ["derive"] } serde_json = "1" nucleo = "0.5" ureq = { version = "2", features = ["json"] } # Scryfall serves the bulk downloads as `.jsonl.gz` with `Content-Type: # application/gzip` (not `Content-Encoding: gzip`), so ureq won't transparently # decompress them — we do it ourselves. Pure-Rust backend, so it cross-compiles # to Android without another C dependency. flate2 = { version = "1", default-features = false, features = ["rust_backend"] } anyhow = "1" thiserror = "1" # Lean, self-contained release binary (used by `cargo tauri build`). # Trades a few minutes of extra build time for a smaller executable. [profile.release] strip = true # drop debug symbols lto = true # link-time optimization codegen-units = 1 # better optimization at the cost of parallelism panic = "abort" # no unwinding machinery