gossan-classify 0.3.2

Banner classification and service fingerprinting for Gossan
Documentation
# 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.80"
name = "gossan-classify"
version = "0.3.2"
authors = ["Santh Project <contact@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Banner classification and service fingerprinting for Gossan"
homepage = "https://santh.dev"
readme = "README.md"
keywords = [
    "fingerprint",
    "banner",
    "classification",
    "scanner",
    "security",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/santhsecurity/gossan"

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.regex-lite]
version = "0.1"

[dependencies.secfinding]
version = "0.3"

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.proptest]
version = "1"

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

[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"