docs.rs failed to build async-compatibility-layer-1.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
async-compatibility-layer-1.2.1
What is this?
This crate exports four things:
- A compatibility/abstraction layer for writing async-executor agnostic code. We support two async executors: async-std and tokio. Each may be toggled with a configuration flag.
- A compatibility/abstraction layer for writing async channel agnostic code. We support three async channel implementations: async-std-channels. Each may be toggled with a configuration flag.
- A library exporting a bunch of useful async primitives.
- A tracing configuration layer optionally supporting console and opentelemetry integration.
Example usage
RUSTFLAGS='--cfg async_executor_impl="tokio" --cfg async_channel_impl="tokio"'
async_executor_impl may be either tokio or async-std. async_channel_impl may be either tokio, async-std, or flume. Note that using tokio channels requires tokio to be the runtime. Note that the async executor impl and async channel impl must be set in order for this crate to compile successfully.