Cargo Features

[dependencies]
compio = { version = "0.12.0", default-features = false, features = ["all", "io-uring", "polling", "io", "io-compat", "runtime", "macros", "event", "signal", "time", "dispatcher", "tls", "native-tls", "rustls", "process", "quic", "h3", "arrayvec", "bumpalo", "bytes", "enable_log", "criterion", "allocator_api", "lazy_cell", "linux_pidfd", "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, h3, macros, native-tls, process, quic, rustls, signal, time
io-uring default

Enables io-uring of compio-driver, optional compio-fs, optional compio-net, and optional compio-signal

polling

Enables polling of compio-driver

io io-compat? runtime

Enables compio-io

io-compat = io

Enables compat of compio-io, io-compat of optional compio-quic

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

process all?

Enables compio-process

quic all? h3?

Enables compio-quic

h3 all? = quic

Enables h3 of compio-quic

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

compio-signal:

Nightly features

linux_pidfd nightly?

Enables linux_pidfd of optional compio-process

once_cell_try nightly?

Enables once_cell_try of compio-driver and optional compio-signal

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, linux_pidfd, 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