From 0b28becd60ff33bbd80dac95f86073701cc3ac0b Mon Sep 17 00:00:00 2001 From: zabackary <137591653+zabackary@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:04:38 +0900 Subject: [PATCH] fix: fix compiler error with `serde` enabled --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/sports.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ddf961e..36a6fee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -107,7 +107,7 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "daktronics-allsport-5000" -version = "0.2.0" +version = "0.2.1" dependencies = [ "bytes", "futures-util", diff --git a/Cargo.toml b/Cargo.toml index ce96057..8a7121c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daktronics-allsport-5000" -version = "0.2.0" +version = "0.2.1" authors = ["zabackary"] description = "A Rust implementation of decoders for the Daktronics All Sport 5000's serial output" license = "MIT" diff --git a/src/sports.rs b/src/sports.rs index e286998..9a45221 100644 --- a/src/sports.rs +++ b/src/sports.rs @@ -166,7 +166,7 @@ loop { } #[cfg(feature = "serde")] - impl serde::Serialize for [<$ident_name Sport>] { + impl serde::Serialize for [<$ident_name Sport>] { // since the caller might have 0 arguments, imports might // not be used #[allow(unused)]