NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1222 most downloaded on crates.io
Rust Custom Derive Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev
Last release today
07 Oct 2026
Release timing varies
gaps range from 8 days to 8 months
Nearly every release is documented
notes for 54 of the last 60 stable releases
6 versions withdrawn
withdrawn after publishing
10 years old
68 releases · first in 2017
Add DynRustEmbed, a dyn-compatible counterpart to RustEmbed, blanket-implemented for all embed types so they can be stored behind Box / &dyn DynRustEm
DynRustEmbed, a dyn-compatible counterpart to RustEmbed, blanket-implemented for all embed types so they can be stored behind Box<dyn DynRustEmbed> / &dyn DynRustEmbed. Thanks to pyrossh.Fix embedded data being duplicated in binary. Thanks to redgg@xiretza.xyz.
Option/.unwrap() and comment. Thanks to Tommy Yu y@metatoaster.com.One column per quarter.
Fix RustEmbed::iter() signature as it was breaking the static lifetime.
RustEmbed::iter(): replace concrete return type with generic iterator, to make it easier to implement an empty fake embed. Thanks to Johannes Altmanni
Ignore paths that couldn't be canonicalized. Thanks to zvolin .
Nothing published for this version
Update repo links to sub-packages
Update documentation and repo links
add deterministic timestamps flag for deterministic builds #259. Thanks to daywalker90
Update include-flate to 0.3 #246. Thanks to krant
Allow users to specify a custom path to the rust_embed crate in generated code#232. Thanks to Wulf
Re-export RustEmbed as Embed #245. Thanks to pyrossh
metadata_only attribute #241. Thanks to ddfisherexpect with a safer alternative that returns None instead #240. Thanks to costinsinto_path call #239. Thanks to smoeliusFix symbolic links in debug builds #235. Thanks to Buckram123
Fix naming collisions in macros #230. Thanks to hwittenborn
Add created to file metadata. #225. Thanks to ngalaiko
Store file contents statically and use binary search for lookup. #217. Thanks to osiewicz
Fix failing compilation under compression feature #182. Thanks to osiewicz
Update include-flate to v0.2 #182
include-flate to v0.2 #182- Update syn to v2.0 #211
syn to v2.0 #211Fix mime-guess feature not working properly #209
sort_by_file_name() requires walkdir v2.3.2 #206
Nothing published for this version
Fail the proc macro if include/exclude are used without the feature #187
Update sha2 dependency version in utils crate #186
Order files by filename #171. Thanks to apognu
Fixed a security issue in debug mode #159. Thanks to 5225225
Fixed include-exclude feature when using cargo v2 resolver
include-exclude feature when using cargo v2 resolverAdded include-exclude feature by mbme
include-exclude feature by mbmeAdded doc comments to macro generated functions
Breaking change the Asset::get() api has changed and now returns an EmbeddedFile which contains a data field which is the bytes of the file and a meta…
Idea came about from Cody Casterline
Asset::get() api has changed and now returns an EmbeddedFile which contains a data field which is the bytes of the file and
a metadata field which has theses 2 properties associated to the file hash and last_modified;### Added - Added path prefix attribute
Fixed compiling with latest version of syn
### Fixed - Fix feature flag typo
Fixed windows path error in release mode
Fixed warnings in latest nightly
Fixed the folder directory being relative to the current directory. It is now relative to Cargo.toml.
folder directory being relative to the current directory.
It is now relative to Cargo.toml.### Changed - using rust-2018 edition now - code cleanup - updated examples and crates
compression feature for compressing embedded files
compression feature for compressing embedded filesNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
a panic when struct has doc comments
debug_embed feature was not working at all
return Cow<'static, [u8]> to preserve static lifetime
Cow<'static, [u8]> to preserve static lifetime### Added - iter() method to list files
iter() method to list filesavoid vector allocation by returning impl AsRef<[u8]>
impl AsRef<[u8]>appveyor for testing on windows
panic if the folder cannot be found
The derive attribute style so we don't need attr_literals and it can be used in stable rust now. Thanks to Mcat12.
attr_literals and it can be used in stable rust now. Thanks to Mcat12.#[folder("assets/")]
to
#[folder = "assets/"]
Reimplemented the macro for release to use include_bytes for perf sake. Thanks to lukad.
### Changed - Fixed usage error message
### Added - Release mode for custom derive ### Changed - Fixed tests in travis
Converted the rust-embed macro embed! into a Rust Custom Derive Macro #[derive(RustEmbed)] which implements get on the struct
embed! into a Rust Custom Derive Macro #[derive(RustEmbed)] which implements get on the structlet asset = embed!("examples/public/")
to
#[derive(RustEmbed)]
#[folder = "examples/public/"]
struct Asset;
### Added - rouille example
Your coding agent can read these notes before it upgrades. Set up the MCP server →