Implement _cargo_ignore_publish.

This commit is contained in:
daxpedda 2021-02-03 19:19:30 +01:00
parent d4bc7d2c06
commit f0d3fd72d7
No known key found for this signature in database
GPG key ID: 43D62A3EA388E46F
5 changed files with 23 additions and 5 deletions

View file

@ -173,6 +173,8 @@ define_Conf! {
(disallowed_methods, "disallowed_methods": Vec<String>, Vec::<String>::new()),
/// Lint: UNREADABLE_LITERAL. Should the fraction of a decimal be linted to include separators.
(unreadable_literal_lint_fractions, "unreadable_literal_lint_fractions": bool, true),
/// Lint: CARGO_COMMON_METADATA. For internal testing only, ignores the current `publish` settings in the Cargo manifest.
(_cargo_ignore_publish, "_cargo_ignore_publish": bool, false),
}
impl Default for Conf {