disable version mismatch in editions without header

This commit is contained in:
Maple Nebel 2026-05-02 22:55:12 +02:00
commit d39758d748

View file

@ -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")]