-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Looking at the code, configparser
changes the function signature depending on whether the indexmap
feature is introduced.
Lines 3 to 6 in 671c19c
#[cfg(feature = "indexmap")] | |
use indexmap::IndexMap as Map; | |
#[cfg(not(feature = "indexmap"))] | |
use std::collections::HashMap as Map; |
This shouldn't happen, according to the Cargo book: https://doc.rust-lang.org/cargo/reference/features.html#semver-compatibility
I think the proper way is to expose additional functions when the feature indexmap
is enabled.
ruben-arts and nichmor
Metadata
Metadata
Assignees
Labels
No labels