[package] name = "mtgc-core" version.workspace = true edition.workspace = true license.workspace = true description = "Platform-agnostic core for the MTG library catalog: DB, fuzzy search, filters, decks, and Scryfall ingestion." [lib] name = "mtgc_core" path = "src/lib.rs" # Binary that builds reference.db from Scryfall bulk data. [[bin]] name = "mtgc-ingest" path = "src/bin/ingest.rs" [dependencies] rusqlite = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } nucleo = { workspace = true } ureq = { workspace = true } flate2 = { workspace = true } anyhow = { workspace = true } thiserror = { workspace = true } # Sync sign-in: PKCE (RFC 7636) needs a SHA-256 and unpadded base64url, and # its verifier fresh randomness. All pure Rust, so Android needs nothing extra. sha2 = "0.10" base64 = "0.22" getrandom = "0.3" [dev-dependencies] tempfile = "3"