Adding executor_trait library as a dependency

Run this command in a terminal, in your project's directory:

cargo add executor-trait

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

executor-trait = "3.1.0"

The executor_trait library will be automatically available globally. Read the executor_trait library documentation.

Back to the crate overview.