mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-21 01:43:51 +01:00
* fetch: use shared craft_http_url::parse_content_range * chore: repin craft-http-url to craft-libs main
19 lines
721 B
TOML
19 lines
721 B
TOML
[package]
|
|
name = "lightcraft-fetch"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
description = "LightCraft model downloads: mirrors, resume, pinned SHA-256, over HTTPS in pure Rust (L0)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
# downloads run natively only (the web build fetches no models)
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
craft-http-url = { git = "https://github.com/storytold/craft-libs", rev = "512a1b8e8b59a7b325e7f69f6131aa8628470288" }
|
|
log = { workspace = true }
|
|
rustls = { version = "0.23", default-features = false, features = ["std", "tls12"] }
|
|
rustls-rustcrypto = "0.0.2-alpha"
|
|
webpki-roots = "1"
|
|
sha2 = { version = "0.10", default-features = false, features = ["std"] }
|