mirror of
https://github.com/devmobasa/wayscriber.git
synced 2026-06-03 03:54:42 +02:00
chore: inherit workspace lints
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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,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 }
|
||||
|
||||
Reference in New Issue
Block a user