Cargo Features
[dependencies]
rust-embed-for-web = { version = "11.2.1", default-features = false, features = ["always-embed", "interpolate-folder-path", "include-exclude"] }
- default = include-exclude, interpolate-folder-path
-
These default features are set whenever
rust-embed-for-web
is added without
somewhere in the dependency tree.default-features = false - always-embed
-
Even in debug mode use a release embed.
We use this to test embed code in our tests.Enables always-embed of rust-embed-for-web-impl
- interpolate-folder-path default
-
Allow environment variables and ~'s to be expanded
Enables interpolate-folder-path of rust-embed-for-web-impl
- include-exclude default
-
Enables include-exclude of rust-embed-for-web-impl and rust-embed-for-web-utils