$ cargo culture
Should have a well-formed Cargo.toml file readable by `cargo metadata` ... ok
Should have a CONTRIBUTING file in the project directory. ... ok
Should have a LICENSE file in the project directory. ... ok
Should have a README.md file in the project directory. ... ok
Should have a rustfmt.toml file in the project directory. ... ok
Should have a file suggesting the use of a continuous integration system. ... ok
Should `cargo clean` and `cargo build` without any warnings or errors. ... ok
Should have multiple tests which pass. ... ok
Should be making an effort to use property based tests. ... ok
cargo-culture
as an educational tool, like clippy
tends to be. But you're also looking at organisations that want to maintain some consistent meta-style across their projects. I had a few thoughts on things you might be interested in supporting. Would you like me to log a few issues on the repo?
cargo init
.
.rustfmt
configuration file, I'll refer to justification listed in the docs: https://docs.rs/cargo-culture-kit/0.1.0/cargo_culture_kit/struct.HasRustfmtFile.html#justification
cargo culture
from the root of the https://github.com/PolySync/cargo-culture repo directory
cargo-culture-kit
library subcrate
cargo metadata
provided knowledge about the presence of a parent workspace
total_tests > 1
drawing from all your workspace crates in the roll-up scenario,
total_tests > 1
drawing from the particular subcrate if you run in the context of just that subcrate