deps: update base64

closes: https://github.com/wez/wezterm/pull/2855
This commit is contained in:
Wez Furlong committed 2022-12-12 09:15:09 -07:00
1 parent 8a527fe7bc
commit 91ea1095c9
5 files changed
+22 -18

No files matched your search

Generated
+14 -8
View File
@@ -292,6 +292,12 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]]
name = "base64"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5"
[[package]]
name = "base91"
version = "0.1.0"
@@ -2000,7 +2006,7 @@ version = "7.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f19b9f54f7c7f55e31401bb647626ce0cf0f67b0004982ce815b3ee72a02aa8"
dependencies = [
"base64",
"base64 0.13.1",
"byteorder",
"crossbeam-channel",
"flate2",
@@ -2900,7 +2906,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"base64",
"base64 0.20.0",
"bintree",
"bitflags",
"chrono",
@@ -3451,7 +3457,7 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03c64931a1a212348ec4f3b4362585eca7159d0d09cbdf4a7f74f02173596fd4"
dependencies = [
"base64",
"base64 0.13.1",
]
[[package]]
@@ -3646,7 +3652,7 @@ version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd39bc6cdc9355ad1dc5eeedefee696bb35c34caf21768741e81826c0bbd7225"
dependencies = [
"base64",
"base64 0.13.1",
"indexmap",
"line-wrap",
"serde",
@@ -4125,7 +4131,7 @@ version = "0.11.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c"
dependencies = [
"base64",
"base64 0.13.1",
"bytes",
"encoding_rs",
"futures-core",
@@ -4443,7 +4449,7 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25bf4a5a814902cd1014dbccfa4d4560fb8432c779471e96e035602519f82eef"
dependencies = [
"base64",
"base64 0.13.1",
"chrono",
"hex",
"indexmap",
@@ -4985,7 +4991,7 @@ name = "termwiz"
version = "0.19.0"
dependencies = [
"anyhow",
"base64",
"base64 0.20.0",
"bitflags",
"cassowary",
"criterion",
@@ -6037,7 +6043,7 @@ dependencies = [
"anyhow",
"assert_fs",
"async_ossl",
"base64",
"base64 0.20.0",
"bitflags",
"camino",
"clap 4.0.29",
+1 -1
View File
@@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
base64 = "0.13"
base64 = "0.20"
bintree = { path = "../bintree" }
bitflags = "1.3"
chrono = { version = "0.4", features = ["serde"] }
+1 -1
View File
@@ -12,7 +12,7 @@ readme = "README.md"
[dependencies]
# backtrace = "0.3"
base64 = "0.13"
base64 = "0.20"
bitflags = "1.3"
cassowary = {version="0.3", optional=true}
anyhow = "1.0"
+1 -1
View File
@@ -18,7 +18,7 @@ vendored-openssl-libssh-rs = ["libssh-rs/vendored-openssl"]
[dependencies]
anyhow = "1.0"
base64 = "0.13"
base64 = "0.20"
bitflags = "1.3"
camino = "1.0"
dirs-next = "2.0"
+5 -7
View File
@@ -115,13 +115,11 @@ impl crate::sessioninner::SessionInner {
let fingerprint = sess
.host_key_hash(ssh2::HashType::Sha256)
.map(|fingerprint| {
format!(
"SHA256:{}",
base64::encode_config(
fingerprint,
base64::Config::new(base64::CharacterSet::Standard, false)
)
)
let engine = base64::engine::fast_portable::FastPortable::from(
&base64::alphabet::STANDARD,
base64::engine::fast_portable::NO_PAD,
);
format!("SHA256:{}", base64::encode_engine(fingerprint, &engine))
})
.or_else(|| {
// Querying for the Sha256 can fail if for example we were linked