fontmesh 0.4.0

Pure Rust library for converting TrueType font glyphs to 2D/3D triangle meshes
Documentation
# 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 = "fontmesh"
version = "0.4.0"
authors = ["Po Hsuan Lai <pohsuanlai0208@gmail.com>"]
build = false
exclude = [
    ".github/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust library for converting TrueType font glyphs to 2D/3D triangle meshes"
documentation = "https://docs.rs/fontmesh"
readme = "README.md"
keywords = [
    "ttf2mesh",
    "ttf2mesh-rs",
    "mesh",
    "ttf",
    "triangulation",
]
categories = [
    "graphics",
    "game-development",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PoHsuanLai/fontmesh"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
serde = [
    "dep:serde",
    "glam/serde",
]

[lib]
name = "fontmesh"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "export_obj"
path = "examples/export_obj.rs"

[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["serde"]

[[test]]
name = "comparison_test"
path = "tests/comparison_test.rs"

[dependencies.glam]
version = "0.30"
features = ["fast-math"]

[dependencies.lyon_tessellation]
version = "1.0"

[dependencies.rustc-hash]
version = "2.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.ttf-parser]
version = "0.24"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.serde_json]
version = "1.0"