Skip to content

Commit

Permalink
Add lints to workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFordTytherington committed Oct 28, 2024
1 parent 1e37a34 commit 8cdd124
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ members = [
"tests/qt_types_standalone/rust",
]
resolver = "2"
msrv = "1.77.2"
rust-version = "1.77.2"

[workspace.package]
edition = "2021"
Expand Down
5 changes: 5 additions & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
# SPDX-FileContributor: Ben Ford <[email protected]>
#
# SPDX-License-Identifier: MIT OR Apache-2.0
rust-version = "1.77.2"
3 changes: 3 additions & 0 deletions crates/cxx-qt-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ serde_json = "1.0"

[features]
link_qt_object_files = ["qt-build-utils/link_qt_object_files"]

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/cxx-qt-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ indoc = "2.0"

[dev-dependencies]
pretty_assertions = "1.2"

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/cxx-qt-lib-extras/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ cxx-qt-build.workspace = true
[features]
default = []
link_qt_object_files = ["cxx-qt-build/link_qt_object_files"]

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/cxx-qt-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ time = ["dep:time"]
url = ["dep:url"]
serde = ["dep:serde"]
link_qt_object_files = ["cxx-qt-build/link_qt_object_files"]

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/cxx-qt-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ syn.workspace = true
[dev-dependencies]
cxx.workspace = true
cxx-qt.workspace = true

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/cxx-qt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ qt-build-utils.workspace = true

[dev-dependencies]
cxx.workspace = true

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/qt-build-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ thiserror = "1.0"
#
# When linking Qt dynamically, this makes no difference.
link_qt_object_files = []

[lints]
workspace = true

0 comments on commit 8cdd124

Please sign in to comment.