# 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.85"
name = "adler-core"
version = "0.15.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for the Adler OSINT username-search tool."
homepage = "https://github.com/commit3296/adler"
documentation = "https://docs.rs/adler-core"
readme = "README.md"
keywords = [
    "osint",
    "username",
    "reconnaissance",
    "sherlock",
    "search",
]
categories = [
    "web-programming::http-client",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/commit3296/adler"

[features]
impersonate = [
    "dep:wreq",
    "dep:wreq-util",
]

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

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

[[bench]]
name = "correlate"
path = "benches/correlate.rs"
harness = false

[[bench]]
name = "permute"
path = "benches/permute.rs"
harness = false

[[bench]]
name = "registry"
path = "benches/registry.rs"
harness = false

[[bench]]
name = "scan"
path = "benches/scan.rs"
harness = false

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

[dependencies.async-tungstenite]
version = "0.34"
features = [
    "tokio-runtime",
    "tokio-rustls-webpki-roots",
]
default-features = false

[dependencies.chromiumoxide]
version = "0.9"
default-features = false

[dependencies.fastrand]
version = "2"

[dependencies.futures]
version = "0.3"

[dependencies.image]
version = "0.25"
features = [
    "gif",
    "jpeg",
    "png",
    "webp",
]
default-features = false

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "http2",
    "json",
    "gzip",
    "brotli",
    "socks",
]
default-features = false

[dependencies.scraper]
version = "0.27"

[dependencies.secrecy]
version = "0.10"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
    "sync",
    "signal",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.wreq]
version = "6.0.0-rc.29"
optional = true

[dependencies.wreq-util]
version = "3.0.0-rc.12"
optional = true

[dev-dependencies.criterion]
version = "0.7"
features = ["async_tokio"]

[dev-dependencies.insta]
version = "1"
features = [
    "yaml",
    "filters",
]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
    "sync",
    "signal",
    "macros",
    "rt-multi-thread",
    "test-util",
]
default-features = false

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"

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

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

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
