# 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-cli"
version = "0.11.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for the Adler OSINT username-search tool."
homepage = "https://github.com/commit3296/adler"
readme = "README.md"
keywords = [
    "osint",
    "username",
    "reconnaissance",
    "sherlock",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/commit3296/adler"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/adler-{ target }{ archive-suffix }"
bin-dir = "adler{ binary-ext }"
pkg-fmt = "tgz"

[features]
impersonate = ["adler-core/impersonate"]

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

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

[dependencies.adler-core]
version = "0.11.3"

[dependencies.adler-server]
version = "0.11.3"

[dependencies.anyhow]
version = "1"

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

[dependencies.clap_complete]
version = "4"

[dependencies.indicatif]
version = "0.18"

[dependencies.open]
version = "5"

[dependencies.secrecy]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.assert_cmd]
version = "2"

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

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

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
    "sync",
    "signal",
    "macros",
    "rt-multi-thread",
]
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
