harfrust 0.9.0

A complete HarfBuzz shaping algorithm port to Rust.
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"
rust-version = "1.85"
name = "harfrust"
version = "0.9.0"
build = false
exclude = [
    "benches/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A complete HarfBuzz shaping algorithm port to Rust."
readme = "README.md"
keywords = [
    "text",
    "shaping",
    "opentype",
    "truetype",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/harfbuzz/harfrust"

[features]
default = ["std"]
libm = [
    "dep:core_maths",
    "read-fonts/libm",
]
std = ["read-fonts/std"]

[lib]
name = "harfrust"
path = "src/lib.rs"
bench = false

[dependencies.bitflags]
version = "2.9"

[dependencies.bytemuck]
version = "1.22"
features = ["extern_crate_alloc"]

[dependencies.core_maths]
version = "0.1"
optional = true

[dependencies.read-fonts]
version = "0.40.0"
default-features = false

[dependencies.smallvec]
version = "1.14"

[dev-dependencies.criterion]
version = "0.8.0"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
items_after_statements = "allow"
large-stack-arrays = "allow"
many_single_char_names = "allow"
match_same_arms = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
range_plus_one = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_wraps = "allow"
used_underscore_binding = "allow"
used_underscore_items = "allow"
wildcard_imports = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unused_qualifications = "warn"