Specify lints for whole workspace in `Cargo.toml`

This commit is contained in:
Hanno Braun 2023-11-21 20:24:26 +01:00
parent dbd2187dc1
commit eaa3b68b43
15 changed files with 25 additions and 14 deletions

View File

@ -45,6 +45,10 @@ keywords = ["cad", "programmatic", "code-cad"]
categories = ["encoding", "mathematics", "rendering"]
[workspace.lints.rust]
missing_docs = "warn"
[workspace.dependencies.fj]
version = "0.47.0"
path = "crates/fj"

View File

@ -10,6 +10,9 @@ license.workspace = true
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
fj-interop.workspace = true
fj-math.workspace = true

View File

@ -81,8 +81,6 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![warn(missing_docs)]
pub mod algorithms;
pub mod geometry;
pub mod objects;

View File

@ -10,6 +10,8 @@ license.workspace = true
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
fj-interop.workspace = true

View File

@ -8,8 +8,6 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![warn(missing_docs)]
use std::{fs::File, path::Path};
use thiserror::Error;

View File

@ -10,5 +10,8 @@ license.workspace = true
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
fj-math.workspace = true

View File

@ -9,8 +9,6 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![warn(missing_docs)]
pub mod ext;
pub mod mesh;
pub mod model;

View File

@ -10,6 +10,9 @@ license.workspace = true
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
approx = "0.5.1"
decorum = "0.3.1"

View File

@ -31,8 +31,6 @@
//! [nalgebra]: https://nalgebra.org/
//! [Parry]: https://www.parry.rs/
#![warn(missing_docs)]
mod aabb;
mod arc;
mod circle;

View File

@ -10,6 +10,10 @@ license.workspace = true
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
fj-interop.workspace = true
fj-math.workspace = true

View File

@ -8,8 +8,6 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![warn(missing_docs)]
mod assets;
mod camera;
mod graphics;

View File

@ -10,6 +10,9 @@ license.workspace = true
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
fj-interop.workspace = true

View File

@ -8,8 +8,6 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![warn(missing_docs)]
mod display;
mod window;

View File

@ -10,6 +10,9 @@ license.workspace = true
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
fj-core.workspace = true

View File

@ -9,8 +9,6 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![warn(missing_docs)]
mod args;
mod handle_model;