Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade dependencies #134

Merged
merged 7 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.audit.ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RUSTSEC-2024-0370
JanZachmann marked this conversation as resolved.
Show resolved Hide resolved
149 changes: 72 additions & 77 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
name = "omnect-cli"
readme = "README.md"
repository = "https://github.com/omnect/omnect-cli"
version = "0.24.10"
version = "0.24.11"

[dependencies]
actix-web = "4.4"
Expand All @@ -30,7 +30,7 @@ base64 = "0.13"
bzip2 = "0.4"
clap = { version = "4.0", features = ["derive"] }
directories = "5.0"
env_logger = "0.10"
env_logger = "0.11"
filemagic = "0.12"
flate2 = "1.0"
omnect-crypto = { git = "https://github.com/omnect/omnect-crypto.git", tag = "0.4.0" }
Expand Down Expand Up @@ -63,7 +63,7 @@ tokio = { version = "1", features = [
toml = "0.8"
uuid = { version = "0.8", default-features = false, features = ["v4"] }
url = { version = "2.4" }
validator = { version = "0.14", features = ["derive"] }
validator = { version = "0.18.1", features = ["derive"] }
xz2 = "0.1"

[dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ async fn request_access_token(auth_info: &AuthInfo) -> Result<Token> {
"Note: if the browser does not open automatically, use this link to complete login: {}",
auth_url.to_string()
);
let _ = open::that(auth_url.to_string());

let auth_code = server_task.await??;

Expand Down
2 changes: 1 addition & 1 deletion src/validators/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ struct CertIssuance {
#[allow(dead_code)]
pub struct IdentityConfig {
#[validate(regex(
path = "RE_HOSTNAME",
path = *RE_HOSTNAME,
code = "hostname validation",
message = "hostname is not compliant with rfc1035"
))]
Expand Down
1 change: 0 additions & 1 deletion tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ fn check_set_device_cert_no_est() {

let mut device_cert_key_out_path = device_cert_out_path.clone();


device_cert_out_path.push("device_id_cert_out_path");
let device_cert_out_path = device_cert_out_path.to_str().unwrap();

Expand Down
Loading