Refactoring SystemLocale so that it works on Windows added a bunch of dependencies (notably bindgen on Windows because winapi doesn't yet expose some parts of the Windows API we need). Because there are so many dependencies, this functionality should sit behind a feature; so that people who don't need to query to the OS for a locale don't have to suffer so many dependencies.
Refactoring
SystemLocale
so that it works on Windows added a bunch of dependencies (notablybindgen
on Windows becausewinapi
doesn't yet expose some parts of the Windows API we need). Because there are so many dependencies, this functionality should sit behind a feature; so that people who don't need to query to the OS for a locale don't have to suffer so many dependencies.