diff options
author | 2024-04-07 12:42:12 +0200 | |
---|---|---|
committer | 2024-04-07 12:42:12 +0200 | |
commit | 5cd98f069dea8720bca7748d6c12fa410cbe79b5 (patch) | |
tree | 99ce1271cb61c0afa84908b7bd52a94f2b2a652d /core | |
parent | a865b380026ce8c26b818e8e94ea14cb930865a3 (diff) | |
download | iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.tar.gz iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.tar.bz2 iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.zip |
Use built-in `[lints]` table in `Cargo.toml`
Diffstat (limited to 'core')
-rw-r--r-- | core/Cargo.toml | 3 | ||||
-rw-r--r-- | core/src/lib.rs | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index d3529d98..7bd37021 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -10,6 +10,9 @@ homepage.workspace = true categories.workspace = true keywords.workspace = true +[lints] +workspace = true + [features] auto-detect-theme = ["dep:dark-light"] advanced = [] diff --git a/core/src/lib.rs b/core/src/lib.rs index 832b2d2d..feda4fb4 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -9,13 +9,6 @@ #![doc( html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] -#![forbid(unsafe_code, rust_2018_idioms)] -#![deny( - missing_debug_implementations, - missing_docs, - unused_results, - rustdoc::broken_intra_doc_links -)] pub mod alignment; pub mod border; pub mod clipboard; |