1
Fork 0

Move global lints to Cargo.toml.

This commit is contained in:
Bauke 2024-01-31 12:43:47 +01:00
parent 25bebee683
commit e5713f5785
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 7 additions and 3 deletions

View File

@ -12,6 +12,13 @@ edition = "2021"
[lib]
path = "source/lib.rs"
[lints.clippy]
missing_docs_in_private_items = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[dependencies]
byteorder = "1.5.0"
serde = { version = "1.0.196", features = ["derive"] }

View File

@ -1,6 +1,3 @@
#![forbid(unsafe_code)]
#![warn(missing_docs, clippy::missing_docs_in_private_items)]
//! # WebExtension Native Messaging
//!
//! > **WebExtension native messaging library for Rust.**