From 0d7a8422a1cd82dd181f386da3d9036f54c351d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Wed, 26 Feb 2025 11:31:45 +0100 Subject: [PATCH] Use released SDK --- Cargo.lock | 5 +++-- Cargo.toml | 3 --- pkcs11/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cfa0150e..441f2749 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -858,8 +858,9 @@ dependencies = [ [[package]] name = "nethsm-sdk-rs" -version = "1.1.1" -source = "git+https://github.com/Nitrokey/nethsm-sdk-rs.git?rev=d6eb424acfc69f4cc0105e7d1229315d7a0992df#d6eb424acfc69f4cc0105e7d1229315d7a0992df" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2aeec8637e90a7481ad1ee6edb2ac4eef2ed9f86fd867a89f7782ee6d35a287" dependencies = [ "base64 0.21.7", "http", diff --git a/Cargo.toml b/Cargo.toml index 5cc2048e..e9fe42c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,3 @@ lto = true # Enable link-time optimization codegen-units = 1 # Reduce number of codegen units to increase optimizations panic = 'abort' # Abort on panic strip = true # Strip symbols from binary - -[patch.crates-io] -nethsm-sdk-rs = { git = "https://github.com/Nitrokey/nethsm-sdk-rs.git", rev = "d6eb424acfc69f4cc0105e7d1229315d7a0992df" } diff --git a/pkcs11/Cargo.toml b/pkcs11/Cargo.toml index e559a05b..b24f257c 100644 --- a/pkcs11/Cargo.toml +++ b/pkcs11/Cargo.toml @@ -22,7 +22,7 @@ serde = { version = "1", features = ["derive"], default-features = false } serde_yaml = "0.9.22" serde_json = { default-features = false, version = "1.0.64" } lazy_static = "1.4.0" -nethsm-sdk-rs = { version = "1.0" } +nethsm-sdk-rs = { version = "2.0" } rustls = { version = "0.23", default-features = false } rustls-native-certs = "0.7" base64ct = { version = "1.6", default-features = false }