mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-28 17:19:24 +01:00
The web build is under a 24 MiB download budget. Its embedded data is now stored deflated and inflated once at startup: the craft-fonts faces, the translation catalogs, the Phosphor icon font and the studio environment HDR. egui's default faces come from craft-ui's deflated copies instead of egui's default_fonts feature, and the engine's built-in text fonts (Ubuntu Light, Hack) come from the same copies through text_cmds::provide_built_in_fonts. Desktop builds are unchanged.
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[package]
|
|
name = "texturecraft-engine"
|
|
description = "TextureCraft session, command registry, painting, baking and inspection"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
chrono = { workspace = true }
|
|
texturecraft-core = { workspace = true }
|
|
texturecraft-texel = { workspace = true }
|
|
texturecraft-geom = { workspace = true }
|
|
texturecraft-compose = { workspace = true }
|
|
texturecraft-paint = { workspace = true }
|
|
texturecraft-bake = { workspace = true }
|
|
texturecraft-formats = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
# The built-in text fonts; the web build gets them from the app (`text_cmds::provide_built_in_fonts`).
|
|
epaint_default_fonts = { workspace = true }
|
|
tempfile = "3"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "freebsd"))'.dependencies]
|
|
sysinfo = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
processkit = { version = "3.3.4", default-features = false, features = ["limits"] }
|
|
tokio = { workspace = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
craft-usd.workspace = true
|
|
image = { workspace = true }
|
|
zip = { workspace = true }
|