mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Fix compilation
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@ hex-literal = "0.3"
|
||||
interchange = "0.2.2"
|
||||
iso7816 = "0.1"
|
||||
serde = { version = "1", default-features = false, features = ["derive"] }
|
||||
trussed = { version = "0.1" }
|
||||
trussed = { version = "0.1", features = ["serde-extensions"] }
|
||||
trussed-auth = { version = "0.2" }
|
||||
untrusted = "0.9"
|
||||
vpicc = { version = "0.1.0", optional = true }
|
||||
@@ -62,7 +62,7 @@ default = []
|
||||
strict-pin = []
|
||||
std = []
|
||||
vpicc = ["std", "dep:vpicc", "virt"]
|
||||
virt = ["std"]
|
||||
virt = ["std", "trussed/virt"]
|
||||
pivy-tests = []
|
||||
opensc-tests = []
|
||||
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ impl Default for Options {
|
||||
|
||||
impl Options {
|
||||
pub fn storage(self, storage: Location) -> Self {
|
||||
Self { storage }
|
||||
Self { storage, ..self }
|
||||
}
|
||||
pub fn url(self, url: &'static [u8]) -> Self {
|
||||
Self { url, ..self }
|
||||
|
||||
Reference in New Issue
Block a user