1Password / sys-locale

A small and lightweight Rust library to obtain the active locale on the system.
Apache License 2.0
75 stars 15 forks source link

Use manual CoreFoundation bindings instead of core-foundation-sys #11

Closed complexspaces closed 1 year ago

complexspaces commented 1 year ago

I made a mistake in #8 and incorrectly assumed that core-foundation-sys compatible with this crate's goals, but it wasn't and that resulted in accidentally making sys-locale dependent on std on Apple platforms. This PR allows the Apple backend to remain no_std compatible.