Michael-F-Bryan / include_dir

The logical evolution of the include_str macro for embedding a directory tree into your binary.
https://michael-f-bryan.github.io/include_dir
MIT License
316 stars 36 forks source link

`no_std` support #91

Open jlxip opened 1 year ago

jlxip commented 1 year ago

This is an issue to propose the idea of considering adding no_std support. include_str! and include_bytes! both have it, so it would make sense for this too.

gwen-lg commented 2 weeks ago

I have take a look, and it's seem not possible. include_dir use the Path struct and fs module witch can't be avoided.

include_str! seems to use compiler built-in, so it's seems not possible to copy it in the crate.