# 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 = "hr-shape"
version = "0.8.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line utilities for HarfRust text shaping library."
readme = "README.md"
keywords = [
    "text",
    "shaping",
    "opentype",
    "truetype",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/harfbuzz/harfrust"

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

[[bin]]
name = "hr-shape"
path = "src/main.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.harfrust]
version = "0.8.3"
features = ["std"]
default-features = false

[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"
