# 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.62.0" name = "e-libscanner" version = "0.1.8" authors = ["Eternal "] include = [ "src/", "Cargo.toml", "*-LICENSE", "*.md", ] description = "The bottom layer is scanned by capturing packets" homepage = "https://github.com/EternalNight996" documentation = "https://docs.rs/e-libscanner" readme = "README.md" keywords = [ "net", "scan", "async", "e-libscanner", "e-", ] categories = [ "network-programming", "asynchronous", "os", "command-line-utilities", ] license-file = "GNU-LICENSE" repository = "https://github.com/EternalNight996/e-libscanner" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [lib] name = "e_libscanner" [[example]] name = "port_scan" path = "examples/port_scan.rs" required-features = ["sync"] [[example]] name = "host_scan" path = "examples/host_scan.rs" required-features = ["sync"] [[example]] name = "async_port_scan" path = "examples/async_port_scan.rs" required-features = ["async"] [[example]] name = "async_host_scan" path = "examples/async_host_scan.rs" required-features = ["async"] [[example]] name = "service_detection" path = "examples/service_detection.rs" required-features = ["service"] [[example]] name = "os" path = "examples/os.rs" required-features = ["os"] [[example]] name = "cmd_input" path = "examples/cmd_input.rs" required-features = [] [[example]] name = "dns" path = "examples/dns.rs" required-features = [] [[example]] name = "tracert" path = "examples/tracert.rs" required-features = [] [dependencies.async-io] version = "1.7.0" optional = true [dependencies.e-utils] version = "^0.1.20" features = [ "random", "dns", "traceroute", ] default-features = false [dependencies.futures] version = "0.3.21" features = [ "executor", "thread-pool", ] optional = true [dependencies.futures-lite] version = "1.12.0" optional = true [dependencies.ipnet] version = "2.5" [dependencies.native-tls] version = "0.2.10" optional = true [dependencies.once_cell] version = "^1.1" [dependencies.pnet_datalink] version = "0.31.0" [dependencies.pnet_packet] version = "0.31.0" [dependencies.rayon] version = "1.5.3" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_derive] version = "1.0.140" [dependencies.socket2] version = "0.4.4" features = ["all"] [dependencies.structopt] version = "0.3.26" [features] async = [ "async-io", "futures-lite", "futures", ] default = ["sync"] full = [ "async", "sync", "os", "service", ] os = [] service = [ "native-tls", "sync", ] sync = [] [target."cfg(windows)".dependencies.libc] version = "0.2" [target."cfg(windows)".dependencies.windows] version = "0.30.0" features = [ "Win32_Foundation", "Win32_NetworkManagement_IpHelper", "Win32_Networking_WinSock", ]