upgrade misc deps, set rust edition to 2021 (#383)

This commit is contained in:
Carson McManus 2024-06-02 12:26:00 -04:00 committed by GitHub
parent 8d54a1254a
commit b24a7415f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 12 deletions

16
Cargo.lock generated
View file

@ -376,6 +376,12 @@ version = "0.21.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d"
[[package]]
name = "base64"
version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]] [[package]]
name = "base64ct" name = "base64ct"
version = "1.6.0" version = "1.6.0"
@ -2853,7 +2859,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55"
dependencies = [ dependencies = [
"async-compression", "async-compression",
"base64", "base64 0.21.2",
"bytes", "bytes",
"cookie 0.16.2", "cookie 0.16.2",
"cookie_store", "cookie_store",
@ -3039,7 +3045,7 @@ version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2"
dependencies = [ dependencies = [
"base64", "base64 0.21.2",
] ]
[[package]] [[package]]
@ -3520,7 +3526,7 @@ name = "steamguard"
version = "0.13.0" version = "0.13.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64", "base64 0.22.1",
"cookie 0.14.4", "cookie 0.14.4",
"hmac", "hmac",
"lazy_static", "lazy_static",
@ -3542,7 +3548,6 @@ dependencies = [
"serde_path_to_error", "serde_path_to_error",
"sha1 0.10.5", "sha1 0.10.5",
"sha2", "sha2",
"standback",
"thiserror", "thiserror",
"uuid", "uuid",
"zeroize", "zeroize",
@ -3555,7 +3560,7 @@ dependencies = [
"aes 0.8.3", "aes 0.8.3",
"anyhow", "anyhow",
"argon2", "argon2",
"base64", "base64 0.22.1",
"cbc", "cbc",
"clap", "clap",
"clap_complete", "clap_complete",
@ -3584,7 +3589,6 @@ dependencies = [
"serde_json", "serde_json",
"serde_path_to_error", "serde_path_to_error",
"sha1 0.10.5", "sha1 0.10.5",
"standback",
"stderrlog", "stderrlog",
"steamguard", "steamguard",
"tempfile", "tempfile",

View file

@ -6,7 +6,7 @@ members = ["steamguard"]
name = "steamguard-cli" name = "steamguard-cli"
version = "0.13.0" version = "0.13.0"
authors = ["dyc3 (Carson McManus) <carson.mcmanus1@gmail.com>"] authors = ["dyc3 (Carson McManus) <carson.mcmanus1@gmail.com>"]
edition = "2018" edition = "2021"
description = "A command line utility to generate Steam 2FA codes and respond to confirmations." description = "A command line utility to generate Steam 2FA codes and respond to confirmations."
keywords = ["steam", "2fa", "steamguard", "authentication", "cli"] keywords = ["steam", "2fa", "steamguard", "authentication", "cli"]
categories = ["command-line-utilities"] categories = ["command-line-utilities"]
@ -29,7 +29,7 @@ path = "src/main.rs"
[dependencies] [dependencies]
anyhow = "^1.0" anyhow = "^1.0"
base64 = "0.21.2" base64 = "0.22.1"
text_io = "0.1.8" text_io = "0.1.8"
rpassword = "7.2.0" rpassword = "7.2.0"
reqwest = { version = "0.11", default-features = false, features = [ reqwest = { version = "0.11", default-features = false, features = [
@ -43,7 +43,6 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
rsa = "0.9.2" rsa = "0.9.2"
rand = "0.8.5" rand = "0.8.5"
standback = "0.2.17" # required to fix a compilation error on a transient dependency
clap = { version = "4.5.4", features = ["derive", "cargo", "env"] } clap = { version = "4.5.4", features = ["derive", "cargo", "env"] }
clap_complete = "4.5.2" clap_complete = "4.5.2"
log = "0.4.19" log = "0.4.19"

View file

@ -2,7 +2,7 @@
name = "steamguard" name = "steamguard"
version = "0.13.0" version = "0.13.0"
authors = ["Carson McManus <carson.mcmanus1@gmail.com>"] authors = ["Carson McManus <carson.mcmanus1@gmail.com>"]
edition = "2018" edition = "2021"
description = "Library for generating 2fa codes for Steam and responding to mobile confirmations." description = "Library for generating 2fa codes for Steam and responding to mobile confirmations."
keywords = ["steam", "2fa", "steamguard", "authentication"] keywords = ["steam", "2fa", "steamguard", "authentication"]
repository = "https://github.com/dyc3/steamguard-cli/tree/master/steamguard" repository = "https://github.com/dyc3/steamguard-cli/tree/master/steamguard"
@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
anyhow = "^1.0" anyhow = "^1.0"
sha1 = "^0.10" sha1 = "^0.10"
base64 = "^0.21" base64 = "^0.22.1"
reqwest = { version = "0.11", default-features = false, features = [ reqwest = { version = "0.11", default-features = false, features = [
"blocking", "blocking",
"json", "json",
@ -24,7 +24,6 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
rsa = "0.9.2" rsa = "0.9.2"
rand = "0.8.4" rand = "0.8.4"
standback = "0.2.17" # required to fix a compilation error on a transient dependency
cookie = "0.14" cookie = "0.14"
regex = "1" regex = "1"
lazy_static = "1.4.0" lazy_static = "1.4.0"