[package]
edition = "2024"
rust-version = "1.91"
name = "mdwright-math"
version = "0.1.2"
authors = ["Jacob Reinhold <jcreinhold@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure TeX/math recognition and normalisation for mdwright"
readme = "README.md"
keywords = [
"documentation",
"linter",
"markdown",
"math",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jcreinhold/mdwright"
[lib]
name = "mdwright_math"
path = "src/lib.rs"
doctest = false
[dependencies.mdwright-latex]
version = "0.1.2"
[dependencies.tracing]
version = "0.1"
[dependencies.unicode-width]
version = "0.2"
[lints.clippy]
arithmetic_side_effects = "deny"
blanket_clippy_restriction_lints = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "warn"
disallowed_methods = "deny"
disallowed_types = "deny"
exit = "warn"
expect_used = "deny"
float_arithmetic = "allow"
get_unwrap = "warn"
implicit_clone = "warn"
indexing_slicing = "deny"
inefficient_to_string = "warn"
items_after_statements = "allow"
large_stack_arrays = "warn"
lint_groups_priority = "warn"
manual_memcpy = "warn"
map_flatten = "warn"
map_unwrap_or = "warn"
match_same_arms = "allow"
mem_forget = "deny"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
mutex_integer = "warn"
needless_collect = "warn"
option_if_let_else = "allow"
panic = "deny"
ptr_as_ptr = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "allow"
redundant_pub_crate = "allow"
similar_names = "allow"
single_match_else = "allow"
todo = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unimplemented = "warn"
unnecessary_literal_bound = "allow"
unnecessary_wraps = "allow"
unreachable = "warn"
unwrap_in_result = "warn"
unwrap_used = "deny"
wildcard_enum_match_arm = "warn"
[lints.clippy.all]
level = "warn"
priority = -10
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -9
[lints.clippy.correctness]
level = "warn"
priority = -8
[lints.clippy.nursery]
level = "warn"
priority = -5
[lints.clippy.pedantic]
level = "warn"
priority = -4
[lints.clippy.perf]
level = "warn"
priority = -6
[lints.clippy.style]
level = "warn"
priority = -3
[lints.clippy.suspicious]
level = "warn"
priority = -7
[lints.rust]
future-incompatible = "warn"
let-underscore = "warn"
nonstandard-style = "warn"
redundant_lifetimes = "warn"
rust-2018-idioms = "warn"
rust-2024-compatibility = "deny"
single_use_lifetimes = "warn"
trivial_casts = "warn"
unreachable_pub = "warn"
unsafe-code = "forbid"
[lints.rust.unused]
level = "warn"
priority = -1