#bug #file #file-extension #directory #include-str #publish #mre

build include_str_rs_file_mre

An MRE of a include_str! nested directory bug

2 releases

0.1.1 Jul 15, 2019
0.1.0 Jul 15, 2019

#392 in Build Utils

25 downloads per month

MIT license

2KB

[Minimal Reproducible

Example](https://stackoverflow.com/help/minimal-reproducible-example) of a bug in include_str!

cargo publish fails when you use include_str! on a file with the rs file extension.

Steps to Reproduce

  1. Clone this repo

git clone https://github.com/masonforest/include_str_rs_file_mre

  1. Attempt to publish the repo

Work around

As a work around you can append a different suffix to the file eg file.rs.txt

No runtime deps