Module cargo_culture_kit::rules [−][src]
Provides the Rule
trait and several implementations,
available through the default_rules()
function.
Structs
BuildsCleanlyWithoutWarningsOrErrors |
Rule that asserts a good Rust project:
"Should |
CargoMetadataReadable |
Rule that asserts a good Rust project:
"Should have a well-formed Cargo.toml file readable by |
HasContinuousIntegrationFile |
Rule that asserts a good Rust project: "Should have a file suggesting the use of a continuous integration system." |
HasContributingFile |
Rule that asserts a good Rust project: "Should have a CONTRIBUTING file in the project directory." |
HasLicenseFile |
Rule that asserts a good Rust project: "Should have a LICENSE file in the project directory." |
HasReadmeFile |
Rule that asserts a good Rust project: "Should have a README.md file in the project directory." |
HasRustfmtFile |
Rule that asserts a good Rust project: "Should have a rustfmt.toml file in the project directory." |
PassesMultipleTests |
Rule that asserts a good Rust project: "Should have multiple tests which pass." |
RuleContext |
Parameter struct for the |
UnderSourceControl |
Rule that asserts a good Rust project: "Should be under source control" |
UsesPropertyBasedTestLibrary |
Rule that asserts a good Rust project: "Should be making an effort to use property based tests." |
Enums
RuleOutcome |
The result of a |
Traits
Rule |
The core trait of this crate. A |
Functions
default_rules |
Constructs new instances of the default |