Full working app with: - Rust core (mtgc-core): Scryfall ingester, nucleo fuzzy search, SQLite two-DB architecture (reference.db + library.db via ATTACH), criteria filters, deck ops - Tauri v2 shell exposing the core as typed IPC commands - React/TS frontend: card entry, library browser, deck editor - Features: fuzzy card search, color/CMC/type/commander-identity filters, tile/list view toggle, hover card previews, deck format + commander support, per-card location field, grouping by type/subtype/CMC/color, localStorage persistence for active tab/deck/grouping, Discord-inspired dark UI (#C8553D accent) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
659 B
TOML
28 lines
659 B
TOML
[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 }
|
|
anyhow = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|