Cargo Features
[dependencies]
compio = { version = "0.17.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", "ws", "arrayvec", "bumpalo", "bytes", "fd-sync", "enable_log", "ring", "criterion", "allocator_api", "current_thread_id", "lazy_cell", "linux_pidfd", "once_cell_try", "proc_macro_diagnostic", "read_buf", "try_trait_v2", "windows_by_handle", "nightly", "real_blackbox"] }
- default = io-uring, runtime
-
These default features are set whenever
compiois added withoutsomewhere in the dependency tree.default-features = false - all = dispatcher, h3, macros, native-tls, process, quic, rustls, signal, time, ws
- 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, 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 and optional compio-ws
- rustls all? = tls
-
Enables rustls of compio-tls and optional compio-ws
- process all?
-
Enables compio-process
- quic all? h3?
-
Enables compio-quic
- h3 all? = quic
-
Enables h3 of compio-quic
- ws all?
-
Enables compio-ws
- arrayvec
-
Enables arrayvec of compio-buf
Workspace dependencies
- bumpalo
-
Enables bumpalo of compio-buf
- bytes
-
Enables bytes of compio-buf
- fd-sync
-
Enables fd-sync of compio-driver
- enable_log
-
Enables enable_log of compio-log
- ring
-
Enables ring of optional compio-quic, optional compio-tls, and optional compio-ws
- criterion real_blackbox?
-
Enables criterion of optional compio-runtime
- allocator_api nightly?
-
Nightly features
Enables allocator_api of compio-buf and optional compio-io
- current_thread_id nightly?
-
Enables current_thread_id of compio-runtime
- 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, optional compio-net, and optional compio-signal
- proc_macro_diagnostic nightly?
-
Enables proc_macro_diagnostic of compio-driver
- 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, current_thread_id, lazy_cell, linux_pidfd, once_cell_try, proc_macro_diagnostic, read_buf, try_trait_v2, windows_by_handle
- real_blackbox dev
-
Enables real_blackbox of criterion
criterion:
This is a legacy feature that no longer does anything, but removing it would be a semver break.
Features from optional dependencies
Shared dependencies for all platforms