# 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"
rust-version = "1.70"
name = "leaktor"
version = "0.4.0"
authors = ["Jonas Resch <reschjonas>"]
build = false
exclude = [
    ".github/",
    ".git/",
    "target/",
    "*.md",
    "!README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A secrets scanner with pattern matching, entropy analysis, and live validation"
homepage = "https://github.com/reschjonas/leaktor"
documentation = "https://github.com/reschjonas/leaktor#readme"
readme = "README.md"
keywords = [
    "security",
    "secrets",
    "scanner",
    "pentesting",
    "credentials",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/reschjonas/leaktor"

[features]
default = [
    "s3",
    "docker",
]
docker = [
    "dep:bollard",
    "dep:futures-util",
]
s3 = [
    "dep:aws-config",
    "dep:aws-sdk-s3",
]

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.aws-config]
version = "1"
optional = true

[dependencies.aws-sdk-s3]
version = "1"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bollard]
version = "0.18"
optional = true

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

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
]

[dependencies.colored]
version = "2.1"

[dependencies.entropy]
version = "0.4"

[dependencies.flate2]
version = "1.0"

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.git2]
version = "0.19"
default-features = false

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.lazy_static]
version = "1.5"

[dependencies.libc]
version = "0.2"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.11"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.41"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.uuid]
version = "1.11"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2.5"

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

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

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