blob: d8192893d585db8c28599a1f68c0edee1bca2590 [file] [edit]
[package]
name = "glifo"
version = "0.0.0"
description = "Glifo provides APIs for efficiently rendering text."
keywords = ["text", "layout"]
categories = ["gui", "graphics"]
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
publish = false # When enabling, add it to the MSRV package list in CI
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
std = ["foldhash/std", "vello_common/std", "skrifa/std"]
libm = ["skrifa/libm", "vello_common/libm", "dep:core_maths"]
png = ["std", "dep:png", "vello_common/png"]
[lints]
workspace = true
[dependencies]
bytemuck = { workspace = true }
foldhash = { workspace = true }
# TODO: Consider just using libm via kurbo, but it doesn't seem to have a `fract` method.
core_maths = { workspace = true, optional = true }
hashbrown = { workspace = true }
log = { workspace = true }
peniko = { workspace = true }
skrifa = { workspace = true }
smallvec = { workspace = true }
vello_common = { workspace = true }
png = { workspace = true, optional = true }