Skip to content

Commit

Permalink
Relax dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Feb 13, 2025
1 parent b257c76 commit 24b81dc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,5 @@ http = "1"
chrono = "0.4.38"
env_logger = "0.11.3"
rustainers = "0.12.0"
rustls = { version = "0.23" }
tokio = { version = "1.37.0", features = ["rt", "macros"] }
ureq = "=3.0.3"
ureq = "3.0.3"
2 changes: 1 addition & 1 deletion generator/src/main/resources/crust/Cargo.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ serde = { default-features = false, version = "^1.0" }
serde_derive = "^1.0"
serde_json = { default-features = false, version = "^1.0" }
url = "^2.2"
ureq = { version = "=3.0.0-rc2", features = ["json", "rustls"], default-features = false }
ureq = { version = "3.0.3", features = ["json", "rustls"], default-features = false }
base64 = { version = "0.21", default-features = false, features = ["alloc"] }
mime = "0.3"
multipart = { version = "0.18", default-features = false, features = ["client"] }
Expand Down
8 changes: 0 additions & 8 deletions tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@
// Author: David Runge <[email protected]>
// License: Apache-2.0 OR MIT

use std::fmt::Debug;

use nethsm_sdk_rs::apis::configuration::Configuration;
use rustainers::{
runner::{RunOption, Runner},
ExposedPort, ImageName, RunnableContainer, RunnableContainerBuilder, ToRunnableContainer,
WaitStrategy,
};
use rustls::{
client::danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier},
crypto::{self, WebPkiSupportedAlgorithms},
pki_types::{CertificateDer, ServerName, UnixTime},
DigitallySignedStruct, SignatureScheme,
};
use ureq::tls::TlsConfig;

pub async fn with_container<F: FnOnce(Configuration) -> T, T>(f: F) -> T {
Expand Down

0 comments on commit 24b81dc

Please sign in to comment.