Crate fs_embed

Source

Macros§

fs_embed
Embed a directory at compile time, returning a Dir enum. The path should be a literal string and strictly relative to the crate root. fs_embed!(“dir”) → Dir::from_embedded

Structs§

Dir
Represents a directory, which may be embedded or from the filesystem. Provides methods to enumerate and access files and subdirectories. Represents a directory, which may be embedded or from the filesystem. Provides methods to enumerate and access files and subdirectories.
DirEntry
Represents a directory entry, which may be a file or a directory.
DirSet
Represents a set of root directories, supporting overlay and override semantics. Later directories in the set can override files from earlier ones with the same relative path.
File
Represents a file, which may be embedded or from the filesystem. Provides methods to access file contents and metadata.
FileMetaData