# 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 = "netprobe" version = "0.4.0" authors = ["shellrow "] description = "Cross-Platform Network Probe Library" readme = "README.md" keywords = ["network"] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/netprobe" [[example]] name = "icmp_ping" path = "examples/icmp_ping.rs" [[example]] name = "tcp_ping" path = "examples/tcp_ping.rs" [[example]] name = "udp_ping" path = "examples/udp_ping.rs" [[example]] name = "udp_trace" path = "examples/udp_trace.rs" [[example]] name = "arp" path = "examples/arp.rs" [[example]] name = "ndp" path = "examples/ndp.rs" [[example]] name = "fingerprinting" path = "examples/fingerprinting.rs" [dependencies.chrono] version = "0.4" [dependencies.default-net] version = "0.21" optional = true [dependencies.futures] version = "0.3" features = [ "executor", "thread-pool", ] optional = true [dependencies.hickory-resolver] version = "0.24" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.tokio] version = "1.21" optional = true [dependencies.xenet] version = "0.4" optional = true [features] async = [ "dep:tokio", "dep:futures", ] default = [ "dep:default-net", "dep:xenet", ] serde = [ "dep:serde", "default-net/serde", "xenet/serde", ]