config: warn on unknown keys instead of dropping them silently

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id06a7e2c96cfdcb69a21fa0416d988696a6a6964
This commit is contained in:
raf 2026-06-26 10:27:40 +03:00
commit 27a509362b
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF
3 changed files with 57 additions and 11 deletions

11
Cargo.lock generated
View file

@ -42,6 +42,7 @@ dependencies = [
"pound",
"rustix",
"serde",
"serde_ignored",
"smithay-client-toolkit",
"thiserror",
"toml",
@ -488,6 +489,16 @@ dependencies = [
"syn",
]
[[package]]
name = "serde_ignored"
version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "115dffd5f3853e06e746965a20dcbae6ee747ae30b543d91b0e089668bb07798"
dependencies = [
"serde",
"serde_core",
]
[[package]]
name = "serde_spanned"
version = "1.1.1"