Fix compilation

This commit is contained in:
Sosthène Guédon
2023-04-13 10:06:30 +02:00
parent 2964c04be2
commit 2af596d466
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
View File
@@ -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 }