1
Fork 0
mirror of https://github.com/RGBCube/embd-rs synced 2025-07-28 05:57:44 +00:00

Remove procmacro2_semver_exempt

This commit is contained in:
RGBCube 2025-02-02 21:51:31 +03:00
parent a4724700b2
commit 8dd31ecc77
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
9 changed files with 2 additions and 188 deletions

View file

@ -29,19 +29,9 @@ let dir: embd::Dir = embd::dir!("path/to");
let files: Vec<embd::File> = dir.flatten();
```
Note that you will need to enable the `procmacro2_semver_exempt` cfg
option to use this crate, you can enable it like so, by putting this in
`.cargo/config.toml` in the project root:
```toml
[build]
rustflags = [ "--cfg", "procmacro2_semver_exempt" ]
```
## To-Do
- [ ] Hot reloading of files in debug mode.
- [ ] Don't depend on `procmacro2_semver_exempt`.
## License