mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 14:03:42 +02:00
Update dependencies (#282)
This commit is contained in:
@@ -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>>(
|
||||
|
||||
Reference in New Issue
Block a user