-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0cd4782
commit eadd524
Showing
3 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "email_address" | ||
version = "0.2.5" | ||
version = "0.2.6" | ||
authors = ["Simon Johnston <[email protected]>"] | ||
description = "A Rust crate providing an implementation of an RFC-compliant `EmailAddress` newtype. " | ||
documentation = "https://docs.rs/email_address/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -354,7 +354,7 @@ impl Default for Options { | |
/// create an instance. The various components of the email _are not_ parsed out to be accessible | ||
/// independently. | ||
/// | ||
#[derive(Debug, Clone, PartialEq, Eq, Hash)] | ||
#[derive(Debug, Clone)] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
johnstonskj
Author
Owner
|
||
pub struct EmailAddress(String); | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
|
@@ -1589,6 +1589,7 @@ mod tests { | |
Deserializer::builder(assert_ok!(email.serialize(&serializer))).build(); | ||
|
||
assert_ok_eq!(EmailAddress::deserialize(&mut deserializer), email); | ||
} | ||
|
||
#[test] | ||
// Regression test: GitHub issue #11 | ||
|
Why were these removed?