From d39758d7489a425659d41d3be74a619f6856effb Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Sat, 2 May 2026 22:55:12 +0200 Subject: [PATCH] disable version mismatch in editions without header --- rnex-core/src/rmc/structures/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rnex-core/src/rmc/structures/mod.rs b/rnex-core/src/rmc/structures/mod.rs index 33de120..ce6cb75 100644 --- a/rnex-core/src/rmc/structures/mod.rs +++ b/rnex-core/src/rmc/structures/mod.rs @@ -13,6 +13,7 @@ pub enum Error { Utf8(#[from] FromUtf8Error), #[error("unexpected value: {0}")] UnexpectedValue(u64), + #[cfg(feature = "rmc_struct_header")] #[error("version mismatch: {0}")] VersionMismatch(u8), #[error("an error occurred reading the station url")]