mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-14 19:27:01 -04:00
Each RAW_SAMPLES entry now carries its SHA-256 (computed from the file as downloaded; the ProRAW value was only a comment). cargo xtask corpus --download hashes every file, new or already present, deletes any mismatch so the next run fetches it again, and fails listing the actual and expected hashes. A unit test keeps names unique and hashes well-formed.
18 lines
392 B
TOML
18 lines
392 B
TOML
[package]
|
|
name = "xtask"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
serde_json = { workspace = true }
|
|
# corpus download checksums
|
|
sha2 = { workspace = true }
|
|
# precompressed web bundle (`cargo xtask web`); pure Rust
|
|
flate2 = "1"
|
|
brotli = { version = "8", default-features = false, features = ["std"] }
|