# 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"
name = "auditmysite"
version = "0.45.0"
authors = ["Casoon"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Resource-efficient WCAG 2.1 Accessibility Checker in Rust"
homepage = "https://www.casoon.de"
documentation = "https://auditmysite.casoon.dev/"
readme = "README.md"
keywords = [
    "accessibility",
    "wcag",
    "a11y",
    "audit",
    "chrome",
]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "BUSL-1.1"
repository = "https://github.com/casoon/auditmysite"

[features]
default = ["pdf"]
pdf = ["dep:renderreport"]
pdf_test = ["pdf"]
semantic-eval = ["dep:fastembed"]

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

[[bin]]
name = "auditmysite"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.chromiumoxide]
version = "0.8"
features = ["tokio-runtime"]
default-features = false

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.colored]
version = "2.0"

[dependencies.comfy-table]
version = "7"

[dependencies.dialoguer]
version = "0.11"
features = ["fuzzy-select"]

[dependencies.dirs]
version = "5.0"

[dependencies.fastembed]
version = "5"
optional = true

[dependencies.fluent-bundle]
version = "0.15"

[dependencies.fluent-syntax]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.html5ever]
version = "0.27"

[dependencies.indicatif]
version = "0.17"

[dependencies.markup5ever_rcdom]
version = "0.3"

[dependencies.renderreport]
version = "0.2.20"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "stream",
    "gzip",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
    "process",
    "io-util",
    "fs",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.unic-langid]
version = "0.9"

[dependencies.url]
version = "2.5"

[dependencies.zip]
version = "2.2"

[dev-dependencies.insta]
version = "1"
features = ["json"]

[dev-dependencies.jsonschema]
version = "0.18"

[dev-dependencies.lopdf]
version = "0.34"

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

[dev-dependencies.tokio-test]
version = "0.4"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
