Philipp Kolberg
2 years ago
No known key found for this signature in database
GPG Key ID: 4C58CB0448FF9061
1 changed files with
2 additions and
1 deletions
-
src/util.rs
|
|
@ -751,7 +751,8 @@ pub fn convert_json_key_lcase_first(src_json: Value) -> Value { |
|
|
|
|
|
|
|
/// Parses the experimental client feature flags string into a HashMap.
|
|
|
|
pub fn parse_experimental_client_feature_flags(experimental_client_feature_flags: &str) -> HashMap<String, bool> { |
|
|
|
let feature_states = experimental_client_feature_flags.to_lowercase().split(',').map(|f| (f.trim().to_owned(), true)).collect(); |
|
|
|
let feature_states = |
|
|
|
experimental_client_feature_flags.to_lowercase().split(',').map(|f| (f.trim().to_owned(), true)).collect(); |
|
|
|
|
|
|
|
feature_states |
|
|
|
} |
|
|
|