# 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 = "2024"
rust-version = "1.95"
name = "mdream"
version = "1.4.0"
build = false
exclude = [
    "tests/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fastest HTML-to-Markdown converter. Zero dependencies, streaming support."
homepage = "https://github.com/harlan-zw/mdream"
documentation = "https://docs.rs/mdream"
readme = "README.md"
keywords = [
    "html",
    "markdown",
    "converter",
    "parser",
    "streaming",
]
categories = [
    "parser-implementations",
    "text-processing",
    "command-line-utilities",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/harlan-zw/mdream"
resolver = "2"

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

[[bin]]
name = "mdream"
path = "src/bin.rs"

[lints.clippy]
branches_sharing_code = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
inline_always = "allow"
items_after_statements = "allow"
iter_without_into_iter = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
naive_bytecount = "allow"
option_if_let_else = "allow"
redundant_pub_crate = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

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

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

[lints.rust]
unsafe_code = "deny"
