Files
craft-libs/crates/feature-root/Cargo.toml
T
aiongg 52d8e207df feature-root: ask epaint_default_fonts for the monochrome emoji faces
craft-ui-contract's tests ask for them as a dev-dependency (their font oracle),
which gave cl test ui-contract its own epaint_default_fonts and so its own
egui and framework build. The feature only adds two byte constants; egui's emoji
fallback is epaint's own feature and stays off.
2026-11-23 10:54:18 +00:00

58 lines
2.7 KiB
TOML

[package]
name = "feature-root"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
publish = false
description = "Never built: the dependency set every local build resolves features with (tools/cl selects it beside each command's package)"
autobins = false
autotests = false
autoexamples = false
autobenches = false
# cargo unifies features over the packages a command selects. tools/cl selects this package in every command, so each
# local build resolves the features of every shared crate (the framework, egui, wgpu, ...) as the gallery with every
# domain crate does, and a target directory holds one build of the framework. No command selects this bin, so nothing
# here is compiled.
[[bin]]
name = "feature-root"
path = "src/main.rs"
test = false
doc = false
bench = false
[lints]
workspace = true
# The gallery's own dependencies, without its domain-crate features: the gallery lib's features stay each command's
# own (`apps` for the gallery, one crate for a render), so a render links one domain crate.
[dependencies]
craft-ui-gallery = { path = "../ui-gallery", default-features = false }
# The gallery's optional domain crates, with the gallery's features (`cl doctor` checks that the lists match).
craft-automation = { workspace = true, features = ["suite"] }
craft-browse = { workspace = true, features = ["suite"] }
craft-color-ui = { workspace = true, features = ["suite"] }
craft-draw = { workspace = true, features = ["suite"] }
craft-imaging = { workspace = true, features = ["suite"] }
craft-layers = { workspace = true, features = ["suite"] }
craft-menu = { workspace = true, features = ["suite"] }
craft-pages = { workspace = true, features = ["suite"] }
craft-print = { workspace = true, features = ["suite"] }
craft-review = { workspace = true, features = ["suite"] }
craft-table = { workspace = true, features = ["suite"] }
craft-text = { workspace = true, features = ["suite", "find"] }
craft-theme-store = { workspace = true, features = ["suite"] }
craft-timeline = { workspace = true, features = ["suite", "xml", "otio"] }
# craft-ui-contract's tests ask for the bundled monochrome emoji faces (their font oracle); asked here, every build has
# them, so those tests share egui and the framework with the rest. The feature only adds two byte constants, which
# nothing else reads; egui's emoji fallback is epaint's own feature of the same name, not this one.
epaint_default_fonts = { version = "0.37", features = ["monochrome_emoji_fonts"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
craft-dialogs = { workspace = true, features = ["suite"] }
craft-font-manager = { workspace = true, features = ["suite"] }
craft-update = { workspace = true, features = ["suite"] }