cargo-i18n
cargo-i18n copied to clipboard
tests failing when run with `--no-default-features`
When I run the tests with --no-default-features, they fail
version 0.15.2
Command example:
cargo test --features arc-swap --no-default-features
Output:
error[E0405]: cannot find trait `RustEmbed` in this scope
--> src/assets.rs:34:8
|
34 | T: RustEmbed,
| ^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0405`.
error: could not compile `i18n-embed` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `i18n-embed` (lib test) due to 1 previous error
It fails for all features when this option is used, and is likely to fail also with tests/loader.rs where there is also use rust_embed::RustEmbed;
Thanks! Open to contribution to fix