From 8c4a17b736e41c69abc8316ae8d6e6e5e469effa Mon Sep 17 00:00:00 2001 From: Oliver Rockstedt Date: Sat, 21 Dec 2024 13:55:53 +0100 Subject: [PATCH] Made num_enum an optional dependency --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c743e8b..2df4025 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,14 +16,15 @@ keywords = ["usb", "midi"] [features] default = ["message-types"] -message-types = [] +message-types = ["dep:num_enum"] [dependencies] usb-device = "0.3" [dependencies.num_enum] -version = "0.7.2" +version = "0.7.3" default-features = false +optional = true [lints.rust] missing_docs = "warn"