# 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 = "gossan-techstack"
version = "0.3.0"
authors = ["Santh Project <contact@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tech stack fingerprinting scanner for panoram — powered by truestack — part of the security research ecosystem"
homepage = "https://santh.dev"
readme = "README.md"
keywords = [
    "security",
    "recon",
    "attack-surface",
    "pentest",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/santhsecurity/gossan"

[package.metadata.santh]
status = "alpha"

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.futures]
version = "0.3"

[dependencies.gossan-core]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.reqwest]
version = "0.12.24"
features = [
    "rustls-tls",
    "json",
    "gzip",
    "brotli",
    "deflate",
    "socks",
    "hickory-dns",
    "stream",
    "cookies",
    "http2",
]
default-features = false

[dependencies.secfinding]
version = "0.3"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

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

[dependencies.tracing]
version = "0.1"

[dependencies.truestack]
version = "0.2"

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

[dev-dependencies.url]
version = "2"
features = ["serde"]

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

[lints.clippy]
assigning_clones = "allow"
branches_sharing_code = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_copy = "allow"
cloned_ref_to_slice_refs = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
collapsible_match = "allow"
comparison_chain = "allow"
default_trait_access = "allow"
deref_addrof = "allow"
doc_markdown = "allow"
duration_suboptimal_units = "allow"
duration_subsec = "allow"
empty_line_after_outer_attr = "allow"
expect_fun_call = "allow"
explicit_deref_methods = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
field_reassign_with_default = "allow"
fn_params_excessive_bools = "allow"
format_collect = "allow"
format_push_string = "allow"
identity_op = "allow"
if_not_else = "allow"
if_same_then_else = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
implicit_hasher = "allow"
inconsistent_struct_constructor = "allow"
inefficient_to_string = "allow"
items_after_statements = "allow"
items_after_test_module = "allow"
legacy_numeric_constants = "allow"
let_unit_value = "allow"
manual_abs_diff = "allow"
manual_assert = "allow"
manual_checked_ops = "allow"
manual_clamp = "allow"
manual_contains = "allow"
manual_div_ceil = "allow"
manual_let_else = "allow"
manual_ok_or = "allow"
manual_pattern_char_comparison = "allow"
manual_range_contains = "allow"
manual_repeat_n = "allow"
manual_str_repeat = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
naive_bytecount = "allow"
needless_borrows_for_generic_args = "allow"
needless_collect = "allow"
needless_continue = "allow"
needless_doctest_main = "allow"
needless_for_each = "allow"
needless_late_init = "allow"
needless_option_as_deref = "allow"
needless_pass_by_value = "allow"
needless_question_mark = "allow"
needless_range_loop = "allow"
needless_raw_string_hashes = "allow"
never_loop = "allow"
new_without_default = "allow"
no_effect_underscore_binding = "allow"
or_fun_call = "allow"
panic_in_result_fn = "allow"
ptr_arg = "allow"
question_mark = "allow"
question_mark_used = "allow"
range_minus_one = "allow"
range_plus_one = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
redundant_pattern_matching = "allow"
ref_option = "allow"
ref_option_ref = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_char_add_str = "allow"
single_char_pattern = "allow"
single_element_loop = "allow"
single_match = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivial_regex = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unchecked_time_subtraction = "allow"
uninlined_format_args = "allow"
unit_arg = "allow"
unnecessary_box_returns = "allow"
unnecessary_lazy_evaluations = "allow"
unnecessary_map_or = "allow"
unnecessary_sort_by = "allow"
unnecessary_to_owned = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
useless_conversion = "allow"
useless_format = "allow"
useless_vec = "allow"
wildcard_imports = "allow"

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

[lints.rust]
dead_code = "allow"
missing_docs = "allow"
unexpected_cfgs = "allow"
unused_assignments = "allow"
unused_imports = "allow"
unused_must_use = "allow"
unused_mut = "allow"
unused_variables = "allow"
