[package]
edition = "2021"
name = "gossan-core"
version = "0.3.3"
authors = ["Santh Project <security@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types, traits, and shared networking utilities for the gossan attack-surface scanner, part of the security research ecosystem"
homepage = "https://santh.dev"
readme = "README.md"
keywords = [
"security",
"recon",
"attack-surface",
"scanner",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "MIT"
repository = "https://github.com/santhreal/gossan"
[package.metadata.santh]
status = "alpha"
[lib]
name = "gossan_core"
path = "src/lib.rs"
[[test]]
name = "adversarial"
path = "tests/adversarial/main.rs"
[[test]]
name = "config_defaults"
path = "tests/config_defaults.rs"
[[test]]
name = "no_bespoke_finding_types_in_public_api"
path = "tests/no_bespoke_finding_types_in_public_api.rs"
[[test]]
name = "scan_input"
path = "tests/scan_input.rs"
[[test]]
name = "target_roundtrip"
path = "tests/target_roundtrip.rs"
[[test]]
name = "test_legendary_adversarial_config"
path = "tests/test_legendary_adversarial_config.rs"
[[test]]
name = "test_legendary_adversarial_net"
path = "tests/test_legendary_adversarial_net.rs"
[[test]]
name = "test_legendary_adversarial_ratelimit"
path = "tests/test_legendary_adversarial_ratelimit.rs"
[[test]]
name = "test_legendary_adversarial_target"
path = "tests/test_legendary_adversarial_target.rs"
[[test]]
name = "test_legendary_gap_ratelimit"
path = "tests/test_legendary_gap_ratelimit.rs"
[[test]]
name = "test_legendary_proptest_target"
path = "tests/test_legendary_proptest_target.rs"
[[test]]
name = "test_legendary_unit_config"
path = "tests/test_legendary_unit_config.rs"
[[test]]
name = "test_legendary_unit_ratelimit"
path = "tests/test_legendary_unit_ratelimit.rs"
[[test]]
name = "test_legendary_unit_scanner"
path = "tests/test_legendary_unit_scanner.rs"
[[test]]
name = "test_legendary_unit_target"
path = "tests/test_legendary_unit_target.rs"
[[test]]
name = "try_push_finding"
path = "tests/try_push_finding.rs"
[[test]]
name = "unit"
path = "tests/unit/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3"
[dependencies.governor]
version = "0.6"
[dependencies.guise-pacing]
version = "0.1"
[dependencies.hashkit]
version = "0.1"
[dependencies.hickory-resolver]
version = "0.25"
features = [
"tokio",
"system-config",
]
default-features = false
[dependencies.idna]
version = "1"
[dependencies.nonzero_ext]
version = "0.3"
[dependencies.proxywire]
version = "0.2"
[dependencies.psl]
version = "2"
[dependencies.scanclient]
version = "0.2"
[dependencies.secfinding]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"net",
"io-util",
"fs",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
features = [
"serde",
"serde",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.ipnet]
version = "2.9"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"net",
"io-util",
"fs",
"macros",
"rt-multi-thread",
]
[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"