[dependencies.core_maths]
optional = true
version = "0.1.0"
[dependencies.skrifa]
default-features = false
version = "0.26.2"
[dependencies.yazi]
default-features = false
optional = true
version = "0.2.1"
[dependencies.zeno]
default-features = false
optional = true
version = "0.3.2"
[features]
default = ["std", "scale", "render"]
libm = ["dep:core_maths", "skrifa/libm", "zeno?/libm"]
render = ["scale", "zeno/eval"]
scale = ["dep:yazi", "dep:zeno"]
std = ["skrifa/std", "zeno?/std", "yazi?/std"]
[lib]
name = "swash"
path = "src/lib.rs"
[lints.clippy]
doc_markdown = "warn"
semicolon_if_nothing_returned = "warn"
[package]
authors = ["Chad Brokaw <cbrokaw@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["graphics", "text-processing"]
description = "Font introspection, complex text shaping and glyph rendering."
edition = "2021"
homepage = "https://github.com/dfrg/swash"
keywords = ["font", "shape", "glyph", "text"]
license = "Apache-2.0 OR MIT"
name = "swash"
readme = "README.md"
repository = "https://github.com/dfrg/swash"
version = "0.2.0"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = []