# 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 = "keyhunter" version = "0.2.0" build = false exclude = [ "/assets", "/benches/fixtures", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Check for leaked API keys and secrets on public websites" readme = "README.md" keywords = [ "security", "api-keys", "secrets", "scraping", "web", ] categories = [ "command-line-utilities", "development-tools", ] license = "GPL-3.0" repository = "https://github.com/DonIsaac/keyhunter" [profile.bench] lto = "thin" codegen-units = 8 strip = "debuginfo" [profile.dev.package.oxc] opt-level = 2 [profile.dev.package.regex] opt-level = 3 [profile.dev.package.scraper] opt-level = 1 [profile.dev-fast] opt-level = 1 inherits = "dev" [profile.release] lto = "fat" codegen-units = 1 [lib] name = "keyhunter" path = "src/lib.rs" [[bin]] name = "keyhunter" path = "src/main.rs" required-features = [ "build-binary", "report", ] [[example]] name = "yc_startups" path = "examples/yc_startups.rs" [[test]] name = "sb_admin" path = "tests/sb_admin.rs" [[bench]] name = "key_extraction" path = "benches/key_extraction.rs" harness = false [[bench]] name = "walking" path = "benches/walking.rs" harness = false [dependencies.clap] version = "4.5.16" features = [ "derive", "color", ] optional = true [dependencies.clap-verbosity-flag] version = "2.2.1" optional = true [dependencies.dashmap] version = "6.0.1" [dependencies.ego-tree] version = "0.6.2" [dependencies.index_vec] version = "0.1.4" [dependencies.log] version = "0.4.22" features = ["kv"] [dependencies.miette] version = "7.2.0" features = [ "fancy", "syntect-highlighter", ] [dependencies.owo-colors] version = "4.0.0" optional = true [dependencies.oxc] version = "0.25.0" [dependencies.pretty_env_logger] version = "0.5.0" optional = true [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.10.0" [dependencies.regex] version = "1.10.6" features = ["perf-dfa-full"] [dependencies.rustc-hash] version = "2.0.0" [dependencies.scraper] version = "0.20.0" [dependencies.serde] version = "1.0.209" features = ["derive"] [dependencies.serde_json] version = "1.0.127" optional = true [dependencies.thiserror] version = "1.0.63" [dependencies.tinyvec] version = "1.8.0" features = [ "alloc", "serde", "rustc_1_40", ] [dependencies.toml] version = "0.8.14" [dependencies.ureq] version = "2.10.1" features = ["cookies"] default-features = true [dependencies.url] version = "2.5.2" [dev-dependencies.codspeed-criterion-compat] version = "2.6.0" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.csv] version = "1.3.0" [features] build-binary = [ "report", "dep:clap", "dep:clap-verbosity-flag", "dep:pretty_env_logger", ] default = [] report = [ "dep:owo-colors", "dep:serde_json", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(codspeed)", "cfg(tarpaulin_include)", ]