makepad/libs/asset/client/Cargo.toml
Arena Agent d8d5ea8b6a Repair integration manifests and port nigig exports onto upstream widget families
Restore missing required asset/flow packages from the pinned nigig revision; retain upstream script isolation, X11 hover, and widget-core fixes. Validated makepad-widgets data feature with Rust 1.97.1.
2026-10-26 11:23:26 +00:00

30 lines
1.2 KiB
TOML

# Asset Server client + verified cache (work package D), registered in the
# root workspace (the former standalone empty [workspace] table was removed
# at registration, same as libs/asset/data).
#
# Dependency policy: only the committed content contract crate
# (makepad-asset-data) plus std. No HTTP library, no async runtime, no JSON
# crate, no database: every parser that faces server bytes is in this crate,
# bounded and fail-closed, because a client must treat the network as hostile
# even when the peer is our own server.
[package]
name = "makepad-asset-client"
version = "0.1.0"
edition = "2021"
[features]
default = ["native"]
native = ["dep:makepad-network", "dep:makepad-live-id"]
web = ["dep:makepad-network", "dep:makepad-live-id"]
[dependencies]
makepad-asset-data = { path = "../data" }
makepad-strict-json = { path = "../../strict_json" }
makepad-network = { path = "../../../platform/network", optional = true }
makepad-live-id = { path = "../../live_id", optional = true }
makepad-platform = { path = "../../../platform" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
makepad-network = { path = "../../../platform/network" }
makepad-live-id = { path = "../../live_id" }