# 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 = "tokio-smoltcp" version = "0.4.1" authors = ["spacemeowx2 "] description = "An asynchronous wrapper for smoltcp." homepage = "https://github.com/spacemeowx2/tokio-smoltcp" documentation = "https://docs.rs/tokio-smoltcp/" readme = "README.md" keywords = [ "async", "smoltcp", "tokio", ] categories = [ "asynchronous", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/spacemeowx2/tokio-smoltcp.git" [[example]] name = "pcap" [dependencies.futures] version = "0.3" [dependencies.parking_lot] version = "0.12.0" [dependencies.pin-project-lite] version = "0.2.6" [dependencies.smoltcp] version = "0.10.0" features = [ "std", "async", "socket-tcp", "socket-udp", "socket-raw", "medium-ethernet", "medium-ip", ] default-features = false [dependencies.tokio] version = "1.6.1" features = [ "time", "rt", ] [dependencies.tokio-util] version = "0.7.4" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.dns-parser] version = "0.8" [dev-dependencies.pcap] version = "1.0.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.structopt] version = "0.3" [dev-dependencies.tokio] version = "1.0" features = ["full"] [features] default = [ "proto-ipv4", "proto-ipv6", "raw_socket", ] proto-ipv4 = ["smoltcp/proto-ipv4"] proto-ipv6 = ["smoltcp/proto-ipv6"] raw_socket = ["smoltcp/socket-raw"]