[dependencies.bitflags]
version = "2.9"
[dependencies.bytemuck]
features = ["extern_crate_alloc"]
version = "1.22"
[dependencies.core_maths]
version = "0.1"
[dependencies.read-fonts]
default-features = false
features = ["libm"]
version = "0.35.0"
[dependencies.smallvec]
version = "1.14"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.pico-args]
features = ["eq-separator"]
version = "0.5"
[[example]]
name = "shape"
path = "examples/shape.rs"
[features]
default = ["std"]
std = ["read-fonts/std"]
[lib]
bench = false
name = "harfrust"
path = "src/lib.rs"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
inconsistent_struct_constructor = "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"
mut_mut = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
ptr_as_ptr = "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_semicolon = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "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"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["text-processing"]
description = "A complete HarfBuzz shaping algorithm port to Rust."
edition = "2021"
exclude = ["benches/", "tests/"]
keywords = ["text", "shaping", "opentype", "truetype"]
license = "MIT"
name = "harfrust"
readme = "README.md"
repository = "https://github.com/harfbuzz/harfrust"
rust-version = "1.82"
version = "0.3.2"
[profile.bench]
inherits = "release"
[profile.release]
codegen-units = 1
lto = "fat"
overflow-checks = false
strip = true