mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
chore: Only error for warnings in CI
This makes it easier for developers to iterate, not having to stop to write docs just to get things building.
This commit is contained in:
parent
84beec0bca
commit
8595357542
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
|
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
|
||||||
#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.5")]
|
#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.5")]
|
||||||
#![doc = include_str!("../README.md")]
|
#![doc = include_str!("../README.md")]
|
||||||
#![deny(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
|
#![warn(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![allow(clippy::needless_doctest_main)]
|
#![allow(clippy::needless_doctest_main)]
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
|
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
|
||||||
#![doc(html_root_url = "https://docs.rs/clap_generate_fig/3.0.0-beta.5")]
|
#![doc(html_root_url = "https://docs.rs/clap_generate_fig/3.0.0-beta.5")]
|
||||||
#![deny(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
|
#![warn(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![allow(clippy::needless_doctest_main)]
|
#![allow(clippy::needless_doctest_main)]
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#![cfg_attr(feature = "doc", doc = include_str!("../README.md"))]
|
#![cfg_attr(feature = "doc", doc = include_str!("../README.md"))]
|
||||||
//! <https://github.com/clap-rs/clap>
|
//! <https://github.com/clap-rs/clap>
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![deny(
|
#![warn(
|
||||||
missing_docs,
|
missing_docs,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
|
|
Loading…
Add table
Reference in a new issue