Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a new API that returns the vector of available ICU locales us… #292

Merged
merged 3 commits into from
Oct 30, 2023

Conversation

clydegerber
Copy link
Contributor

@clydegerber clydegerber commented Oct 27, 2023

…ing uloc_countAvailable() and uloc_getAvailable().

…ing uloc_countAvailable() and uloc_getAvailable(). Add the once_cell crate as a dependency to allow for lazy initialization and caching of the result.
rust_icu_uloc/src/lib.rs Outdated Show resolved Hide resolved
rust_icu_uloc/src/lib.rs Outdated Show resolved Hide resolved
…for uloc_countAvailable() and add some unit test conditions to validate the vector returned by get_available.
@filmil filmil merged commit 77a9ed6 into google:main Oct 30, 2023
15 checks passed
@clydegerber clydegerber deleted the uloc_getAvailable branch October 30, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants