2 releases
0.1.1 | Jan 2, 2024 |
---|---|
0.1.0 | Jan 3, 2022 |
377 downloads per month
Used in 2 crates
(via trillium-static-compiled)
13KB
294 lines
Welcome to Trillium!
📖 Guide 📖
The guide provides an architectural overview and lay of the land connecting the trillium crates.
📑 Rustdocs 📑
The rustdocs represent the best way to learn about any of trillium's individual crates and the specific interfaces.
Legal:
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
Internal-use fork of
include_dir_macros
for
trillium.rs
. It is not intended for general
use. Credit for the bulk of the code goes to the authors of the
upstream crate.
Differences from upstream:
- include_entry was added, which returns a DirEntry instead of a Dir, making direct inclusion of files possible
- Metadata is always enabled
- relative paths are resolved from a root of CARGO_MANIFEST_DIR
- hygiene is maintained by using a macro_rules macro to import relevant structs
Dependencies
~77KB