Cargo Features

[dependencies]
compio = { version = "0.10.0", default-features = false, features = ["all", "io-uring", "polling", "io", "io-compat", "runtime", "macros", "event", "signal", "time", "dispatcher", "tls", "native-tls", "rustls", "arrayvec", "bumpalo", "bytes", "enable_log", "criterion", "allocator_api", "lazy_cell", "once_cell_try", "read_buf", "try_trait_v2", "windows_by_handle", "nightly", "real_blackbox"] }
default = io-uring, runtime

These default features are set whenever compio is added without default-features = false somewhere in the dependency tree.

all = dispatcher, macros, native-tls, rustls, signal, time
io-uring default

Enables io-uring of compio-driver

polling

Enables polling of compio-driver

io io-compat? runtime

Enables compio-io

io-compat = io

Enables compat of compio-io

runtime default dispatcher? event? macros? time? = io

Enables compio-fs, compio-net, and compio-runtime

macros all? = runtime

Enables compio-macros

event signal? = runtime

Enables event of compio-runtime

signal all? = event

Enables compio-signal

time all? = runtime

Enables time of compio-runtime

dispatcher all? = runtime

Enables compio-dispatcher

tls native-tls? rustls?

Enables compio-tls

native-tls all? = tls

Enables native-tls of compio-tls

rustls all? = tls

Enables rustls of compio-tls

arrayvec

Enables arrayvec of compio-buf

Workspace dependencies

bumpalo

Enables bumpalo of compio-buf

bytes

Enables bytes of compio-buf

enable_log

Enables enable_log of compio-log

criterion real_blackbox?

Enables criterion of optional compio-runtime

allocator_api nightly?

Nightly features

Enables allocator_api of compio-buf and optional compio-io

lazy_cell nightly?

Enables lazy_cell of optional compio-signal

once_cell_try nightly?

Enables once_cell_try of compio-driver, optional compio-runtime, and optional compio-signal

compio-driver:

Nightly features

read_buf nightly?

Enables read_buf of compio-buf, optional compio-fs, optional compio-io, and optional compio-tls

try_trait_v2 nightly?

Enables try_trait_v2 of compio-buf

windows_by_handle nightly?

Enables windows_by_handle of optional compio-fs

nightly = allocator_api, lazy_cell, once_cell_try, read_buf, try_trait_v2, windows_by_handle
real_blackbox dev

Enables real_blackbox of criterion

criterion:

Enable use of the nightly-only test::black_box function to discourage compiler optimizations.

Features from optional dependencies

Shared dependencies for all platforms