2 个版本
| 0.1.1 | 2019年7月15日 |
|---|---|
| 0.1.0 | 2019年7月15日 |
#455 in 构建工具
每月 28 次下载
2KB
[最小可复现
示例](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.
复现步骤
- 克隆此仓库
gitclone https://github.com/masonforest/include_str_rs_file_mre
- 尝试发布仓库
解决方案
作为一个解决方案,你可以给文件添加不同的后缀,例如 file.rs.txt