Closed untitaker closed 9 years ago
The test fails now properly, but I still have no idea where the issue is.
The bug has been fixed with https://github.com/niax/rust-email/commit/f0b8a82ad21c86729681a41ede4ba967ed3ee830, but I wonder how the tests could've passed before.
I added a few helper functions to the base parser, I hope they're alright.
Are you okay with removing all experimental tags? They don't exist anymore and I only get warnings.
@niax After updating this PR for the latest nightly, it seems that Rust discourages having the tests in the same crate as the tested code. I've come to this conclusion because Rust wants me to use the test
feature, yet the only place where I can do so is for the whole crate, which gives me an "unused feature" warning when compiling rust-email without tests.
As it builds for now, let's consider where the tests are as a separate issue.
Ok, cool. Maybe I'll provide more PRs regarding the error handling. I currently don't have the motivation for that though, this PR rather resulted out of the problem that email
was breaking on nightly.
This change has been included in 0.0.9 which has been published to crates.io
This is work-in-progress. The test "test_address_list_parsing_groups" from
src/address.rs
is also currently hanging.Fixes #7 Fixes #13