Cargo Features

socketpair has no features set by default.

[dependencies]
socketpair = { version = "0.19.5", features = ["use_async_std", "use_tokio"] }
use_async_std = async-std

Enables async-std of io-extras

use_tokio = tokio

Enables tokio of io-extras

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.

async-std use_async_std?
tokio use_tokio?