[package]
edition = "2021"
name = "gossan-graph"
version = "0.3.3"
authors = ["Santh Project <security@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Graph persistence for Gossan, stores targets and findings in a local SQLite database"
readme = "README.md"
keywords = [
"security",
"recon",
"attack-surface",
"pentest",
"osint",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "MIT"
repository = "https://github.com/santhreal/gossan"
[package.metadata.santh]
status = "alpha"
[features]
default = ["graph"]
graph = []
[lib]
name = "gossan_graph"
path = "src/lib.rs"
[[test]]
name = "adversarial"
path = "tests/adversarial/main.rs"
[[test]]
name = "all_backends_roundtrip"
path = "tests/all_backends_roundtrip.rs"
[[test]]
name = "backend_idempotency_contract"
path = "tests/backend_idempotency_contract.rs"
[[test]]
name = "concurrent"
path = "tests/concurrent/main.rs"
[[test]]
name = "concurrent_writes"
path = "tests/concurrent_writes.rs"
[[test]]
name = "integration"
path = "tests/integration/main.rs"
[[test]]
name = "perf_gate"
path = "tests/perf_gate.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "schema_migration"
path = "tests/schema_migration.rs"
[[test]]
name = "test_legendary_adversarial"
path = "tests/test_legendary_adversarial.rs"
[[test]]
name = "test_legendary_deser"
path = "tests/test_legendary_deser.rs"
[[test]]
name = "test_legendary_gap"
path = "tests/test_legendary_gap.rs"
[[test]]
name = "test_legendary_more"
path = "tests/test_legendary_more.rs"
[[test]]
name = "test_legendary_property"
path = "tests/test_legendary_property.rs"
[[test]]
name = "test_legendary_unit"
path = "tests/test_legendary_unit.rs"
[[test]]
name = "unit"
path = "tests/unit/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.gossan-core]
version = "0.3"
[dependencies.regex]
version = "1"
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
[dependencies.secfinding]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
features = ["serde"]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
"v5",
]
[dev-dependencies.fastrand]
version = "2"
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"net",
"io-util",
"fs",
"full",
"macros",
]
[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"