From c8feab6f5101573db027a141d6fb1fb775c528f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 16 Jan 2023 11:08:23 +0100 Subject: [PATCH] Make apdu-dispatch a required feature for usbip --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 75c537c..186888b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,11 @@ documentation = "https://docs.rs/piv-authenticator" name = "virtual" required-features = ["virtual"] + +[[example]] +name = "usbip" +required-features = ["apdu-dispatch"] + [dependencies] apdu-dispatch = { version = "0.1", optional = true } delog = { version = "0.1.5", optional = true } @@ -47,7 +52,6 @@ expectrl = "0.6.0" # Examples trussed-usbip = { git = "https://github.com/trussed-dev/pc-usbip-runner", default-features = false, features = ["ccid"]} -apdu-dispatch = "0.1" usbd-ccid = { git = "https://github.com/Nitrokey/nitrokey-3-firmware", features = ["highspeed-usb"]} rand = "0.8.5"