Files
arena-tracker/crates/core/Cargo.toml
T
nessarandClaude Opus 5.5 50c0427958 Keep tall card portraits cropped to the card size (#77)
Add ChampionSource::card_portrait (Data Dragon loading art) and
Tracker::refresh_card_portraits, which downloads the missing ones, crops them
to the card's 0.68 aspect at the mockup's 24 % focus, shrinks them to
308 x 453 px and saves them as JPEG in portraits/cards via a .part file.
ChampionRow gains card_portrait.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:08:57 +01:00

21 lines
723 B
TOML

[package]
name = "arena-tracker-core"
edition.workspace = true
rust-version.workspace = true
version.workspace = true
[dependencies]
base64 = { version = "0.23.1", default-features = false, features = ["std"] }
image = { version = "0.25", default-features = false, features = ["jpeg"] }
ring = "0.17.14"
rusqlite = { version = "0.43.0", features = ["bundled"] }
rustls = { version = "0.23.46", default-features = false, features = ["ring", "std", "tls12"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
toml = "1.2.1"
tungstenite = { version = "0.30.0", default-features = false, features = ["handshake", "rustls-tls-webpki-roots"] }
ureq = "3.5.2"
[dev-dependencies]
tempfile = "3.27.0"