summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-07 12:42:12 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-07 12:42:12 +0200
commit5cd98f069dea8720bca7748d6c12fa410cbe79b5 (patch)
tree99ce1271cb61c0afa84908b7bd52a94f2b2a652d /wgpu
parenta865b380026ce8c26b818e8e94ea14cb930865a3 (diff)
downloadiced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.tar.gz
iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.tar.bz2
iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.zip
Use built-in `[lints]` table in `Cargo.toml`
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/Cargo.toml4
-rw-r--r--wgpu/src/lib.rs8
2 files changed, 4 insertions, 8 deletions
diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml
index 0b713784..5f464522 100644
--- a/wgpu/Cargo.toml
+++ b/wgpu/Cargo.toml
@@ -10,6 +10,9 @@ homepage.workspace = true
categories.workspace = true
keywords.workspace = true
+[lints]
+workspace = true
+
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
@@ -44,3 +47,4 @@ resvg.optional = true
tracing.workspace = true
tracing.optional = true
+
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs
index b00e5c3c..2cb9cf04 100644
--- a/wgpu/src/lib.rs
+++ b/wgpu/src/lib.rs
@@ -20,14 +20,6 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
-#![forbid(rust_2018_idioms)]
-#![deny(
- missing_debug_implementations,
- missing_docs,
- unsafe_code,
- unused_results,
- rustdoc::broken_intra_doc_links
-)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
pub mod layer;
pub mod primitive;