Module default

Source
Expand description

A default, cross-platform backend.

  • On native platforms, it will use:

    • backend::native::tokio when the tokio feature is enabled.
    • backend::native::smol when the smol feature is enabled.
    • backend::native::thread_pool when the thread-pool feature is enabled.
    • backend::null otherwise.
  • On Wasm, it will use backend::wasm::wasm_bindgen.

Re-exports§

pub use crate::backend::native::tokio::*;tokio