chore: inherit workspace lints

This commit is contained in:
devmobasa
2026-05-15 14:09:24 +02:00
parent 602d288e3f
commit e84efaeac4
3 changed files with 9 additions and 1 deletions
+6
View File
@@ -11,6 +11,12 @@ default-run = "wayscriber"
members = ["configurator"]
default-members = ["."]
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tablet)'] }
[lints]
workspace = true
[dependencies]
# Wayland
wayland-client = "0.31"
-1
View File
@@ -4,7 +4,6 @@ use std::path::{Path, PathBuf};
use std::process::Command;
fn main() {
println!("cargo:rustc-check-cfg=cfg(tablet)");
if env::var_os("CARGO_FEATURE_TABLET_INPUT").is_some() {
println!("cargo:rustc-cfg=tablet");
}
+3
View File
@@ -3,6 +3,9 @@ name = "wayscriber-configurator"
version = "0.9.18"
edition = "2024"
[lints]
workspace = true
[dependencies]
# The configurator edits config and service files; it does not call portal D-Bus APIs directly.
wayscriber = { path = "..", default-features = false }