From af5e258d21f0fdcacd95b92da6b640c3c6ec0287 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Wed, 30 Aug 2023 00:41:38 +0200 Subject: [PATCH] Add missing pub keywords --- Cargo.toml | 2 +- src/output/mod.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index feb68c4..14193a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "djio" description = "DJ Hardware Control(ler) Support" -version = "0.0.11" +version = "0.0.12" license = "MPL-2.0" readme = "README.md" repository = "https://github.com/uklotzde/djio" diff --git a/src/output/mod.rs b/src/output/mod.rs index d220690..d3c941b 100644 --- a/src/output/mod.rs +++ b/src/output/mod.rs @@ -52,7 +52,7 @@ impl From for LedOutput { #[derive(Debug, Clone, Copy, PartialEq, Eq)] #[repr(transparent)] pub struct DimLedOutput { - brightness: u8, + pub brightness: u8, } impl From for ControlValue { @@ -72,9 +72,9 @@ impl From for DimLedOutput { /// RGB LED #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct RgbLedOutput { - red: u8, - green: u8, - blue: u8, + pub red: u8, + pub green: u8, + pub blue: u8, } impl From for ControlValue {