Crates.io | cargo-stdx-check |
lib.rs | cargo-stdx-check |
version | 0.1.2 |
source | src |
created_at | 2017-06-25 21:20:00.000826 |
updated_at | 2017-07-04 16:08:07.48813 |
description | The stdx-check tool determines whether any given crate is 'compatible' with stdx |
homepage | https://github.com/davidpeklak/cargo-stdx-check |
repository | https://github.com/davidpeklak/cargo-stdx-check |
max_upload_size | |
id | 20699 |
size | 10,308 |
A cargo custom command to test crates against stdx.
Install cargo-stdx-check with
cargo install cargo-stdx-check
Once installed, you can run cargo-stdx-check as a cargo custom commmand. In your crate, or any crate you want to check run
cargo stdx-check
cargo-stdx-check will perform the following steps:
cargo test
Note that with the current version of stdx
the step cargo test
will always fail, because it requires a version of the
chrono
crate that it cannot find.
cargo stdx-check --help
cargo stdx-check -h
cargo test
onlycargo stdx-check test
cargo stdx-check dupes
To specify a version of stdx from crates.io, run
cargo stdx-check --stdxversion <version>
To specify a git repository to load stdx from, run
cargo stdx-check --stdxgit <repository>