Open mendelt opened 5 years ago
I created a pull request where lib or bin sections without a path will just default to src/main.rs or src/lib.rs. If that's ok with you I can add some tests for it. I also found some deprecated warnings that I fixed. I'll add a separate pull request for those.
path = "scr/lib.rs"
Should be path = "src/lib.rs"
Should be
path = "src/lib.rs"
Thanks! I fixed it. I had to read the text 10 times though before I saw where I mistyped :-)
Any updates on this? Unfortunately still happening 5 years later :sweat_smile: .
Thank you for making cargo readme available. While using it I found a small issue
I tried running cargo readme on a crate with proc macro's in it. It had this section in its cargo.toml
This causes cargo readme to fail with the error "Error: missing field
path
for keylib
" First of all this error could be made clearer, where was this field missing? what file? But when the path key is not found it should just use the default src/lib.rs For now I can get around this by addingto Cargo.toml