Files
honey-biscuit-workshop/workshop-getterurl/Cargo.toml
T
Catty Steve 28abc5d207 refactor: replace internal fetch utilities with ResourceRegistry
Remove the monolithic utils::fetch module (HTTP download, git clone,
checksum, extraction) and utils::fetch_plugin module from the baker.
Introduce a ResourceRegistry type to centrally track pipeline
resources by name and path.

The actual fetching logic is now delegated to the workshop-getterurl
crate, which gains optional md5 and sha1 hash support behind default
features. Also flatten the builtin module in workshop-getterurl.
2026-05-19 23:22:59 +08:00

20 lines
509 B
TOML

[package]
name = "workshop-getterurl"
version = "0.1.0"
edition = "2024"
[dependencies]
log = "0.4.29"
md-5 = { version = "0.11.0", optional = true }
reqwest = { version = "0.13.3", default-features = false, features = ["rustls"] }
sha1 = { version = "0.11.0", optional = true }
sha2 = "0.11.0"
thiserror = "2.0.18"
tokio = { version = "1.52.3", features = ["process", "io-util", "fs", "rt-multi-thread", "macros"] }
url = "2.5.8"
[features]
default = ["md5", "sha1"]
md5 = ["dep:md-5"]
sha1 = ["dep:sha1"]