Merge pull request #2104 from hannobraun/rust

Upgrade to Rust 1.74.0
This commit is contained in:
Hanno Braun 2023-11-21 20:34:00 +01:00 committed by GitHub
commit 9704e2d2e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 26 additions and 15 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;

View File

@ -1,5 +1,5 @@
[toolchain]
channel = "1.73.0"
channel = "1.74.0"
components = ["rustfmt", "clippy"]
targets = [
"aarch64-apple-ios",