Skip to content

Commit

Permalink
feat: use ureq exported from the sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
nponsard committed Sep 18, 2023
1 parent 10fb093 commit 02d9ad9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pkcs11/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,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 = { git = "https://github.com/Nitrokey/nethsm-sdk-rs", tag = "0.4.0" }
# need to keep the same version as in the nethsm_sdk_rs crate
ureq = { version = "2", default-features = false, features = ["json", "tls"] }
nethsm-sdk-rs = { version = "0.4.0" }
rustls = { version = "0.21", features = [
"dangerous_configuration",
], default-features = false }
Expand Down
1 change: 1 addition & 0 deletions pkcs11/src/config/initialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use super::{
device::{Device, Slot},
};
use log::trace;
use nethsm_sdk_rs::ureq;
use rustls::client::ServerCertVerifier;
use sha2::Digest;

Expand Down

0 comments on commit 02d9ad9

Please sign in to comment.