Skip to content

A cargo subcommand to help building the Tokio project.

License

Notifications You must be signed in to change notification settings

tokio-rs/cargo-tokio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cargo Tokio

Overview

This cargo subcomand aims to simplify the development process. It gives an easy way to perform locally the commands that are performed by the CI tool.

Installation

cargo install cargo-tokio

Examples

# runs **all** CISteps
cargo tokio
# runs loom tests
cargo tokio loom
# runs the test-unstable suite
cargo tokio test-unstable

Project structure

ci.rs:

  • TokioCIStage are commands typically defined through the TokioCIStageBuilder. These are mostly cargo test, cargo hack, etc. Usually multiple TokioCIStage make a TokioCIStep.
  • TokioCIStep corresponds to a step in the CI. miri, loom, san, clippy would be different CI steps.

cli.rs:

  • Command line options to run the tool.

main.rs:

  • Glues everything so that it can run as an executable.

Contributing

Ideally this command should mirror any updates on the .github/ directory on the tokio crate. So if there's anything missing, feel free to submit a PR.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.

About

A cargo subcommand to help building the Tokio project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages