diff --git a/Cargo.lock b/Cargo.lock index b917b48..cdfc540 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -169,6 +169,12 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" +[[package]] +name = "base64" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5" + [[package]] name = "bitflags" version = "1.3.2" @@ -851,7 +857,7 @@ dependencies = [ name = "imgurs" version = "0.11.1" dependencies = [ - "base64", + "base64 0.20.0", "reqwest", "serde", "serde_json", @@ -1479,7 +1485,7 @@ version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "431949c384f4e2ae07605ccaa56d1d9d2ecdb5cadd4f9577ccfab29f2e5149fc" dependencies = [ - "base64", + "base64 0.13.0", "bytes", "encoding_rs", "futures-core", @@ -1555,7 +1561,7 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" dependencies = [ - "base64", + "base64 0.13.0", ] [[package]] @@ -1894,9 +1900,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.22.0" +version = "1.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76ce4a75fb488c605c54bf610f221cea8b0dafb53333c1a67e8ee199dcd2ae3" +checksum = "eab6d665857cc6ca78d6e80303a02cea7a7851e85dfbd77cbdc09bd129f1ef46" dependencies = [ "autocfg", "bytes", @@ -1907,7 +1913,7 @@ dependencies = [ "pin-project-lite", "socket2", "tokio-macros", - "winapi", + "windows-sys 0.42.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e989acc..44a2f6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ codegen-units = 1 # HTTP reqwest = { version = "0.11", default-features = false, features = ["json", "multipart"] } # Request -base64 = "0.13" +base64 = "0.20" validator = "0.16" # validate url address # Response serde = { version = "1.0", features = ["derive"] } @@ -40,4 +40,4 @@ thiserror = "1.0" [dev-dependencies] # Async tests -tokio = { version = "1.22", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.23", features = ["macros", "rt-multi-thread"] } diff --git a/imgurs-cli/Cargo.toml b/imgurs-cli/Cargo.toml index e3e4923..ba21ce4 100644 --- a/imgurs-cli/Cargo.toml +++ b/imgurs-cli/Cargo.toml @@ -16,7 +16,7 @@ path = "src/main.rs" [dependencies] # Async runtime -tokio = { version = "1.22", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.23", features = ["macros", "rt-multi-thread"] } # CLI clap = { version = "4.0", features = ["derive"] }