winnow-rs / winnow

Making parsing a breeze
https://docs.rs/winnow
Other
525 stars 40 forks source link

Update command in chapter 8 #517

Closed YouSafe closed 5 months ago

YouSafe commented 5 months ago

While trying to run tests with the debug feature using the tutorial's command, I encountered an error:

$ cargo test --features debug
error: none of the selected packages contains these features: debug

After some investigation and learning how features in cargo work, I found that using cargo test --features winnow/debug resolved the issue. I recommend updating the tutorial to include this command to avoid future confusion for other users.

epage commented 5 months ago

Thanks!