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"
|