Cargo Features

[dependencies]
happy-eyeballs = { version = "0.2.1", default-features = false, features = ["std-net", "async-std", "tokio"] }
default = std-net

The std-net feature is set by default whenever happy-eyeballs is added without default-features = false somewhere in the dependency tree.

std-net default = libc, polling, socket2

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

libc std-net
polling std-net

Enables polling ^2

async-std implicit feature

Enables async-std

async-std:

Async version of the Rust standard library

Affects happy-eyeballs::async_std

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications

Affects happy-eyeballs::tokio

socket2 std-net