diff --git a/heim-common/src/lib.rs b/heim-common/src/lib.rs index de5a6c51..2dc1261b 100644 --- a/heim-common/src/lib.rs +++ b/heim-common/src/lib.rs @@ -23,7 +23,13 @@ unused_import_braces, unused_results )] -#![allow(clippy::missing_safety_doc)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies, + + clippy::missing_safety_doc +)] #![cfg_attr(docsrs, feature(doc_cfg))] mod errors; diff --git a/heim-cpu/src/lib.rs b/heim-cpu/src/lib.rs index 7f1e892d..4716c3c1 100644 --- a/heim-cpu/src/lib.rs +++ b/heim-cpu/src/lib.rs @@ -27,7 +27,13 @@ unused_import_braces, unused_results )] -#![allow(clippy::missing_safety_doc)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies, + + clippy::missing_safety_doc +)] #![cfg_attr(docsrs, feature(doc_cfg))] pub mod os; diff --git a/heim-derive/src/lib.rs b/heim-derive/src/lib.rs index fcb8388a..fa4bc0ce 100644 --- a/heim-derive/src/lib.rs +++ b/heim-derive/src/lib.rs @@ -24,6 +24,11 @@ unused_import_braces, unused_results )] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies +)] #[allow(unused_extern_crates)] extern crate proc_macro; diff --git a/heim-disk/src/lib.rs b/heim-disk/src/lib.rs index 87fc97ab..869acab0 100644 --- a/heim-disk/src/lib.rs +++ b/heim-disk/src/lib.rs @@ -21,7 +21,13 @@ unused_import_braces, unused_results )] -#![allow(clippy::missing_safety_doc)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies, + + clippy::missing_safety_doc +)] #![cfg_attr(docsrs, feature(doc_cfg))] pub mod os; diff --git a/heim-host/src/lib.rs b/heim-host/src/lib.rs index b72f41eb..d3aa2f78 100644 --- a/heim-host/src/lib.rs +++ b/heim-host/src/lib.rs @@ -21,7 +21,13 @@ unused_import_braces, unused_results )] -#![allow(clippy::missing_safety_doc)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies, + + clippy::missing_safety_doc +)] #![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(target_os = "windows")] diff --git a/heim-memory/src/lib.rs b/heim-memory/src/lib.rs index 3ae244d7..341df1b1 100644 --- a/heim-memory/src/lib.rs +++ b/heim-memory/src/lib.rs @@ -21,7 +21,13 @@ unused_import_braces, unused_results )] -#![allow(clippy::missing_safety_doc)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies, + + clippy::missing_safety_doc +)] #![cfg_attr(docsrs, feature(doc_cfg))] mod memory; diff --git a/heim-net/src/lib.rs b/heim-net/src/lib.rs index fa4171f1..37e5c5fc 100644 --- a/heim-net/src/lib.rs +++ b/heim-net/src/lib.rs @@ -21,7 +21,13 @@ unused_import_braces, unused_results )] -#![allow(clippy::missing_safety_doc)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies, + + clippy::missing_safety_doc +)] #![cfg_attr(docsrs, feature(doc_cfg))] pub mod os; diff --git a/heim-process/src/lib.rs b/heim-process/src/lib.rs index 62da6607..10f0beb4 100644 --- a/heim-process/src/lib.rs +++ b/heim-process/src/lib.rs @@ -21,7 +21,13 @@ unused_import_braces, unused_results )] -#![allow(clippy::missing_safety_doc)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies, + + clippy::missing_safety_doc +)] #![cfg_attr(docsrs, feature(doc_cfg))] mod errors; diff --git a/heim-runtime/src/lib.rs b/heim-runtime/src/lib.rs index fe482fe0..aded1fe6 100644 --- a/heim-runtime/src/lib.rs +++ b/heim-runtime/src/lib.rs @@ -1,3 +1,30 @@ +#![doc(html_root_url = "https://docs.rs/heim-runtime/0.1.0-beta.1")] +#![deny( + unused, + unused_imports, + unused_features, + unsafe_code, + bare_trait_objects, + future_incompatible, + missing_debug_implementations, +// missing_docs, // TODO + nonstandard_style, + dead_code, + deprecated, + intra_doc_link_resolution_failure +)] +#![warn( + trivial_casts, + trivial_numeric_casts, + unused_extern_crates, + unused_import_braces, + unused_results +)] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies +)] use std::future::Future; pub mod fs; diff --git a/heim-sensors/src/lib.rs b/heim-sensors/src/lib.rs index 10a51ec7..e060cfa4 100644 --- a/heim-sensors/src/lib.rs +++ b/heim-sensors/src/lib.rs @@ -21,6 +21,11 @@ unused_import_braces, unused_results )] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies +)] #![cfg_attr(docsrs, feature(doc_cfg))] mod sys; diff --git a/heim-virt/src/lib.rs b/heim-virt/src/lib.rs index 78a55e59..02a1a2eb 100644 --- a/heim-virt/src/lib.rs +++ b/heim-virt/src/lib.rs @@ -27,6 +27,11 @@ unused_import_braces, unused_results )] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies +)] #![cfg_attr(docsrs, feature(doc_cfg))] mod sys; diff --git a/heim/src/lib.rs b/heim/src/lib.rs index 43a6af7f..97c4de93 100644 --- a/heim/src/lib.rs +++ b/heim/src/lib.rs @@ -65,6 +65,11 @@ unused_import_braces, unused_results )] +#![allow( + // Next two are temporary, see https://github.com/rust-lang/rust/issues/72686 + unknown_lints, + unused_crate_dependencies +)] #![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(feature = "cpu")]