Cargo Features

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 default-features = false somewhere in the dependency tree.


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