dejadoc 0.5.0

Find duplicated Rust doctests and functions across a workspace
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 = "2024"
rust-version = "1.88"
name = "dejadoc"
version = "0.5.0"
authors = ["Luca Cappelletti"]
build = false
exclude = [
    "/docs",
    "/skills",
    "/fuzz",
    "/.clusterfuzzlite",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Find duplicated Rust doctests and functions across a workspace"
readme = "README.md"
keywords = [
    "cargo-subcommand",
    "doctest",
    "duplicate-detection",
    "cli",
    "rustdoc",
]
categories = [
    "command-line-utilities",
    "development-tools::testing",
]
license = "MIT"
repository = "https://github.com/LucaCappelletti94/cargo-dejadoc"

[features]
cli = [
    "std",
    "dep:clap",
]
default = ["cli"]
std = [
    "dep:cargo_metadata",
    "dep:thiserror",
    "dep:toml",
]

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

[[bin]]
name = "cargo-dejadoc"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.blake3]
version = "1.8.7"
default-features = false

[dependencies.cargo_metadata]
version = "0.23.1"
optional = true

[dependencies.clap]
version = "4.6.6"
features = ["derive"]
optional = true

[dependencies.proc-macro2]
version = "1.0.107"
features = ["span-locations"]
default-features = false

[dependencies.pulldown-cmark]
version = "0.13.4"
default-features = false

[dependencies.quote]
version = "1.0.47"
default-features = false

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_json]
version = "1.0.151"
features = ["alloc"]
default-features = false

[dependencies.syn]
version = "3.0.5"
features = [
    "full",
    "parsing",
    "printing",
    "clone-impls",
    "visit",
    "visit-mut",
]
default-features = false

[dependencies.syn-canon]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.20"
optional = true

[dependencies.toml]
version = "1.1.6"
optional = true

[dev-dependencies.tempfile]
version = "3.27.0"

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"

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

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

[lints.rust]
deprecated = "deny"
missing_docs = "forbid"
unconditional_recursion = "forbid"
unknown_lints = "allow"
unreachable_patterns = "forbid"
unsafe_code = "forbid"
unused_import_braces = "forbid"
unused_macro_rules = "forbid"
unused_must_use = "forbid"

[lints.rustdoc]
bare_urls = "forbid"
broken_intra_doc_links = "forbid"
invalid_codeblock_attributes = "forbid"
invalid_html_tags = "forbid"
missing_crate_level_docs = "forbid"
unescaped_backticks = "forbid"

[profile.release]
strip = true