# 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 = "nmaprs"
version = "0.1.6"
authors = ["MenkeTechnologies"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance parallel network scanner with nmap-compatible CLI surface"
homepage = "https://menketechnologies.github.io/nmaprs/"
documentation = "https://docs.rs/nmaprs"
readme = "README.md"
keywords = [
    "nmap",
    "network",
    "scanner",
    "security",
    "port-scan",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MenkeTechnologies/nmaprs"

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

[[bin]]
name = "nmaprs"
path = "src/main.rs"

[[bin]]
name = "nms"
path = "src/bin/nms.rs"

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

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

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

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

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

[[bench]]
name = "scan"
path = "benches/scan.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "string",
]

[dependencies.crc32c]
version = "0.6"

[dependencies.crc32fast]
version = "1.4"

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3"

[dependencies.hickory-resolver]
version = "0.25"
features = ["tokio"]

[dependencies.if-addrs]
version = "0.15.0"

[dependencies.ipnet]
version = "2.10"

[dependencies.libc]
version = "0.2"

[dependencies.pnet]
version = "0.35"

[dependencies.pnet_sys]
version = "0.35"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1.11"

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "ring",
    "tls12",
]
default-features = false

[dependencies.rustls-pki-types]
version = "1"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
]
default-features = false

[dependencies.tokio-socks]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.webpki-roots]
version = "0.26"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.predicates]
version = "3.1"

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

[build-dependencies.cc]
version = "1.2"

[profile.bench]
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
