mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 07:35:02 +00:00
25 lines
800 B
TOML
25 lines
800 B
TOML
[package]
|
|
autotests = false
|
|
name = "craft-fonts-build"
|
|
description = "Embeds the optional craft-fonts faces from an app's build.rs, plus the EmbeddedFace type the generated table uses."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[features]
|
|
# Cut the `role ui` faces to the catalogs' characters (`Embed::subset_to`). Enable it only in an
|
|
# app's `[build-dependencies]`, so the subsetter stays out of the app itself.
|
|
subset = ["dep:skera", "dep:skrifa"]
|
|
|
|
[dependencies]
|
|
skera = { version = "0.8", optional = true }
|
|
skrifa = { version = "0.48", default-features = false, features = ["std"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
craft-fonts-build-consumer = { path = "tests/consumer" }
|
|
|
|
[lints]
|
|
workspace = true
|