Move global lints to Cargo.toml.
This commit is contained in:
parent
25bebee683
commit
e5713f5785
|
@ -12,6 +12,13 @@ edition = "2021"
|
||||||
[lib]
|
[lib]
|
||||||
path = "source/lib.rs"
|
path = "source/lib.rs"
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
missing_docs_in_private_items = "warn"
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
missing_docs = "warn"
|
||||||
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
byteorder = "1.5.0"
|
byteorder = "1.5.0"
|
||||||
serde = { version = "1.0.196", features = ["derive"] }
|
serde = { version = "1.0.196", features = ["derive"] }
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
#![forbid(unsafe_code)]
|
|
||||||
#![warn(missing_docs, clippy::missing_docs_in_private_items)]
|
|
||||||
|
|
||||||
//! # WebExtension Native Messaging
|
//! # WebExtension Native Messaging
|
||||||
//!
|
//!
|
||||||
//! > **WebExtension native messaging library for Rust.**
|
//! > **WebExtension native messaging library for Rust.**
|
||||||
|
|
Loading…
Reference in New Issue