Update dependencies (#282)

This commit is contained in:
Philip Kristoffersen
2022-12-26 14:58:31 +01:00
committed by GitHub
parent 8d3c27c822
commit e76c84b130
8 changed files with 938 additions and 678 deletions
+7 -4
View File
@@ -330,10 +330,13 @@ fn serialize_collection_value<S: AsRef<str>>(name: S, game_ids: &[usize]) -> Str
}
fn name_to_key<S: AsRef<str>>(name: S) -> String {
let config = base64::Config::new(base64::CharacterSet::Standard, false);
let base64 = base64::encode_config(name.as_ref(), config);
let key = format!("{}-{}", BOILR_TAG, base64);
key
let base64 = base64::encode(name.as_ref());
let base64_no_end = if base64.ends_with("==") {
&base64[..base64.len() - 2]
} else {
&base64
};
format!("{}-{}", BOILR_TAG, base64_no_end)
}
fn parse_steam_collections<S: AsRef<str>>(