Struct cargo_culture_kit::CargoMetadataReadable[][src]

pub struct CargoMetadataReadable;

Rule that asserts a good Rust project: "Should have a well-formed Cargo.toml file readable by cargo metadata"

Justification

Cargo is the Rust community-wide standard tool for managing Rust projects and packages. An invalid or absent Cargo.toml file suggests the use of a nonstandard build methodology, or some accident of misconfiguration.

Trait Implementations

impl Default for CargoMetadataReadable
[src]

Returns the "default value" for a type. Read more

impl Debug for CargoMetadataReadable
[src]

Formats the value using the given formatter. Read more

impl Rule for CargoMetadataReadable
[src]

The central tenet of this Rule. Serves as a unique identifier for Rule instances, as well as a human-readable summary of what this Rule means for a given project. Read more

Due to the layout of Rule execution wherein cargo metadata is read and parsed as part of check_culture and then handed off to the Rules being checked, evaluate will declare a success if the metadata parameter is Some.

Auto Trait Implementations