26 lines
730 B
TOML
26 lines
730 B
TOML
|
|
[workspace]
|
||
|
|
resolver = "2"
|
||
|
|
members = ["crates/mtgc-core", "src-tauri"]
|
||
|
|
|
||
|
|
[workspace.package]
|
||
|
|
version = "0.1.0"
|
||
|
|
edition = "2021"
|
||
|
|
license = "MIT"
|
||
|
|
|
||
|
|
[workspace.dependencies]
|
||
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
||
|
|
serde = { version = "1", features = ["derive"] }
|
||
|
|
serde_json = "1"
|
||
|
|
nucleo = "0.5"
|
||
|
|
ureq = { version = "2", features = ["json"] }
|
||
|
|
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
|