94 lines
1.8 KiB
TOML
94 lines
1.8 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "swash"
|
|
version = "0.2.5"
|
|
authors = ["Chad Brokaw <cbrokaw@gmail.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Font introspection, complex text shaping and glyph rendering."
|
|
homepage = "https://github.com/dfrg/swash"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"font",
|
|
"shape",
|
|
"glyph",
|
|
"text",
|
|
]
|
|
categories = [
|
|
"graphics",
|
|
"text-processing",
|
|
]
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/dfrg/swash"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
default-target = "x86_64-unknown-linux-gnu"
|
|
targets = []
|
|
|
|
[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"
|
|
|
|
[dependencies.core_maths]
|
|
version = "0.1.1"
|
|
optional = true
|
|
|
|
[dependencies.skrifa]
|
|
version = "0.31.1"
|
|
default-features = false
|
|
|
|
[dependencies.yazi]
|
|
version = "0.2.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.zeno]
|
|
version = "0.3.3"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[lints.clippy]
|
|
doc_markdown = "warn"
|
|
semicolon_if_nothing_returned = "warn"
|