macro trillium-static-compiled-macros

internal-use-only proc-macros for trillium-static-compiled

2 releases

0.1.1 Jan 2, 2024
0.1.0 Jan 3, 2022
Download history 130/week @ 2024-07-19 115/week @ 2024-07-26 90/week @ 2024-08-02 108/week @ 2024-08-09 95/week @ 2024-08-16 62/week @ 2024-08-23 91/week @ 2024-08-30 173/week @ 2024-09-06 66/week @ 2024-09-13 86/week @ 2024-09-20 65/week @ 2024-09-27 89/week @ 2024-10-04 36/week @ 2024-10-11 76/week @ 2024-10-18 149/week @ 2024-10-25 115/week @ 2024-11-01

377 downloads per month
Used in 2 crates (via trillium-static-compiled)

MIT/Apache

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

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