Cargo Features

io-lifetimes has no features set by default.

[dependencies]
io-lifetimes = { version = "2.0.3", features = ["close", "async-std", "mio", "os_pipe", "socket2", "tokio"] }
close = hermit-abi, libc, windows-sys

Affects io-lifetimes::example_ffi

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 not wasi implicit feature

Enables async-std

async-std:

Async version of the Rust standard library

mio not wasi implicit feature

Enables mio

mio:

Lightweight non-blocking I/O

os_pipe not wasi implicit feature

Enables os_pipe

os_pipe:

a cross-platform library for opening OS pipes

socket2 not wasi implicit feature

Enables socket2

socket2:

Utilities for handling networking sockets with a maximal amount of configuration possible intended

tokio not wasi implicit feature

Enables tokio

tokio:

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

hermit-abi hermit close?
libc not win close?
windows-sys win close?