# 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 = "2018" name = "afpacket" version = "0.2.3" authors = ["The afpacket Authors "] description = "Bindings for Linux raw packet sockets (AF_PACKET), and an async wrapper" readme = "README.md" keywords = ["async", "raw", "socket"] categories = ["network-programming", "os"] license = "MirOS" repository = "https://github.com/nyantec/afpacket" [dependencies.async-io] version = "1.4" optional = true [dependencies.futures-lite] version = "1.11" optional = true [dependencies.libc] version = "0.2" [dependencies.tokio] version = "1.14" features = ["net"] optional = true [dev-dependencies.nom] version = "6.1" [dev-dependencies.tokio] version = "1.14" features = ["net", "macros", "rt-multi-thread", "io-util"] [features] async-std = ["futures-lite", "async-io"] async-tokio = ["futures-lite", "tokio"]