Can I retrieve the version of ICU4X, Unicode, CLDR using C or C++ FFI? #4229
-
Hello Can I retrieve the ICU4X version using C or C++ FFI? It would be good to have the Unicode & CLDR version in the release notes. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Currently this is not possible in the API. |
Beta Was this translation helpful? Give feedback.
-
You can access the CLDR version using deprecated APIs in the icu_testdata crate. For the ICU4X version, currently you need to look at the Cargo.lock file. You can do this in a build.rs script that you write. This has now been requested multiple times so I think we should probably support it. |
Beta Was this translation helpful? Give feedback.
Currently this is not possible in the API.