chore: enforce missing_docs from the workspace manifest
One [workspace.lints.rust] table replaces the deny attribute scattered across every lib.rs, and each crate opts in through [lints]. The lint now also reaches the integration-test crates, whose roots gain their one-line docs.
This commit is contained in:
1 parent
15d3478429
commit
e4f4a3a10b
3 files changed
+6
-1
No files matched your search
@@ -42,3 +42,6 @@ time = { version = "0.3", default-features = false, features = [
|
|||||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "sync", "time"] }
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "sync", "time"] }
|
||||||
# In-process HTTP mocks for offline tests
|
# In-process HTTP mocks for offline tests
|
||||||
wiremock = "0.6"
|
wiremock = "0.6"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
@@ -26,3 +26,6 @@ reqwest = { version = "0.12", features = ["json"] }
|
|||||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "sync", "time"] }
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "sync", "time"] }
|
||||||
# In-process HTTP mocks for offline tests
|
# In-process HTTP mocks for offline tests
|
||||||
wiremock = "0.6"
|
wiremock = "0.6"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
@@ -46,7 +46,6 @@
|
|||||||
//! dispatches, surfaces, and drops
|
//! dispatches, surfaces, and drops
|
||||||
|
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![deny(missing_docs)]
|
|
||||||
|
|
||||||
pub mod error;
|
pub mod error;
|
||||||
pub mod event;
|
pub mod event;
|
||||||
|
|||||||
Reference in new issue
Block a user