# 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.60.0" name = "recvmsg" version = "1.0.0" description = "Traits for receiving datagrams reliably, without truncation." readme = "README.md" license = "0BSD" [package.metadata.docs.rs] all-features = true targets = [ "x86_64-unknown-linux-gnu", "x86_64-unknown-freebsd", "x86_64-pc-windows-msvc", "x86_64-apple-darwin", ] [dependencies.tokio] version = "1.34.0" features = ["net"] optional = true [dev-dependencies.tokio] version = "1.34.0" features = [ "rt", "net", "macros", ] [features] default = [] std = [] std_net = [ "std", "libc", "windows-sys", ] tokio = [ "dep:tokio", "std_net", ] [target."cfg(unix)".dependencies.libc] version = "0.2.150" optional = true [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = ["Win32_Networking_WinSock"] optional = true