Open kellpossible opened 4 days ago
rust-embed
should be an optional dependency for i18n-embed
, in a sense, the crate has outgrown its utility as simply being a means to embed localizations with the I18nAssets
trait and FileSystemAssets
making it possible to load them at runtime. And it would be nice to use i18n-embed-fl
without rust-embed
dependency too.
It would be good to reduce the number of dependencies in the default build.
For example
dashmap
use ini18n-embed-fl
could be replaced with aHashMap
in a lock, etc, and only enabled using an optional feature if performance is really required by the end user at the cost of increased compile times. The chances are for almost every project, the compile time of dashmap far outweighs any benefits it brings to the runtime of the macro.