Crates.io | test_executors |
lib.rs | test_executors |
version | |
source | src |
created_at | 2024-10-14 19:18:29.840055 |
updated_at | 2024-12-07 00:50:09.372039 |
description | Simple async executors for testing. |
homepage | https://sealedabstract.com/code/test_executors |
repository | https://github.com/drewcrawford/test_executors |
max_upload_size | |
id | 1408577 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This crate provides extremely simple, yet useful, async executors. They are primarily useful for writing unit tests without bringing in a full-blown executor such as tokio.
The executors are:
This crate implements the some_executor trait for all executors, allowing them to be used in executor-agnostic code.
async_test
This crate provides a macro, async_test
, allowing tests to be used with async functions, including support
for wasm32 targets.