diff --git a/components/apps/Cargo.toml b/components/apps/Cargo.toml index f8614524..f2c39c34 100644 --- a/components/apps/Cargo.toml +++ b/components/apps/Cargo.toml @@ -54,12 +54,12 @@ hex = "0.4" # - all other optional apps require a Trussed client (+n) # nk3 -nk3 = ["fido-authenticator", "ndef-app", "secrets-app", "opcard", "trussed/clients-4"] -nk3-test = ["nk3", "piv-authenticator", "webcrypt", "factory-reset", "trussed/clients-6"] +nk3 = ["fido-authenticator", "ndef-app", "secrets-app", "opcard", "factory-reset", "trussed/clients-4"] +nk3-test = ["nk3", "piv-authenticator", "webcrypt", "trussed/clients-6"] nk3-provisioner = ["nk3", "provisioner-app", "trussed/clients-5"] # nkpk -nkpk = ["fido-authenticator", "trussed/clients-2"] +nkpk = ["fido-authenticator", "factory-reset", "trussed/clients-2"] nkpk-provisioner = ["nkpk", "provisioner-app", "trussed/clients-3"] # apps diff --git a/components/apps/src/lib.rs b/components/apps/src/lib.rs index 389d8d25..5cf47a6f 100644 --- a/components/apps/src/lib.rs +++ b/components/apps/src/lib.rs @@ -14,7 +14,7 @@ use ctaphid_dispatch::app::App as CtaphidApp; #[cfg(feature = "se050")] use embedded_hal::blocking::delay::DelayUs; use heapless::Vec; -#[cfg(all(feature = "opcard", any(feature = "factory-reset", feature = "se050")))] +#[cfg(any(feature = "factory-reset", feature = "se050"))] use littlefs2::path; #[cfg(feature = "factory-reset")]