32 Commits

Author SHA1 Message Date
Simon Johnston b3e5205b4e Version 0.2.3
Rust / build (macos-latest) (push) Has been cancelled
Rust / build (ubuntu-latest) (push) Has been cancelled
Security audit / security_audit (push) Has been cancelled
Rust / build (windows-latest) (push) Has been cancelled
2022-08-09 08:24:49 -07:00
Simon Johnston c479be7c40 Merge pull request #10 from soerenmeier/new_unchecked
Add `EmailAddress::new_unchecked`
2022-08-09 09:19:32 -06:00
Sören Meier 8828c7a1c4 Add EmailAddress::new_unchecked
This allows to create the `EmailAddress` struct without needing to validate
the address. This can be used for example if you need to store the address
as a string somewhere and you know that it is a valid email address.
2022-08-09 17:12:10 +02:00
Simon Johnston 9a054efb84 Version 0.2.2 2022-08-09 08:06:48 -07:00
Simon Johnston 1498aa9857 Merge pull request #9 from soerenmeier/remove_unsafe
Remove unsafe code Fixes #7, #8
2022-08-09 09:00:47 -06:00
Sören Meier 95899f6c42 Remove unsafe code Fixes #7, #8
The traits `Send + Sync` don't need to be implemented manually since
they get automatically implemented. To make sure this stays that way
a test was added.

This Commit also Removes a warning while generating the documentation.
```
warning: unresolved link to `RFC2234`
   --> src/lib.rs:220:36
    |
220 | > and is expressed in the ABNF of [RFC2234].
    |                                    ^^^^^^^ no item named `RFC2234` in scope
    |
    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

warning: `email_address` (lib doc) generated 1 warning
```
2022-08-09 16:43:03 +02:00
Simon Johnston b31a959c80 Merge pull request #6 from ynuwenhof/master
Manual deserialization
2022-02-27 14:57:46 -08:00
Yannic Nuwenhof 6a6bb856cf Add manual deserialization 2022-02-27 22:49:08 +01:00
Simon Johnston 6cfd8edf13 Minor text formatting for README 2021-12-01 08:50:05 -08:00
Simon Johnston 1cefbfcd6b Bumping versions for 0.2.1 2021-12-01 08:42:41 -08:00
Simon Johnston 1d303455e3 rust-email_address-1 Feature request: Ability to extract the local part and domain from an email 2021-12-01 08:36:24 -08:00
Simon Johnston 0f6b1035fc Changed Into to From for Error into Result.
Added implementation of AsRef to borrow content.
Added more conditions to the warning and deny list.
Fixed some Clippy warnings.
Fixed a bug in encoding the mailto URI scheme.
2021-12-01 08:11:55 -08:00
Simon Johnston 4e688ddd6c Merge pull request #4 from sonro/into-string
Add feature: String from EmailAddress
2021-11-30 15:15:47 +00:00
Christopher Morton fb1acd933f Add feature: String from EmailAddress
Implement the From<EmailAddress> trait for String. This allows moving
the underlying String out of EmailAddress without allocating a new
one.

Closes #3
2021-11-30 15:06:06 +00:00
Simon Johnston ec76aef0e0 Update README.md 2020-10-28 10:41:09 -07:00
Simon Johnston e1ec73e8f8 Add files via upload 2020-10-28 10:39:42 -07:00
Simon Johnston f753854255 Update rust.yml 2020-10-28 10:36:38 -07:00
Simon Johnston a83183d7df Update README.md 2020-10-28 10:02:59 -07:00
Simon Johnston 5757440ac9 Create rust.yml
Migrating to GitHub actions for CI builds
2020-10-28 09:36:58 -07:00
Simon Johnston 8de2a3f065 Merge pull request #2 from johnstonskj/dependabot/add-v2-config-file
Create Dependabot config file
2020-10-28 09:36:01 -07:00
dependabot-preview[bot] f80995902d Create Dependabot config file 2020-10-28 16:29:10 +00:00
Simon Johnston aa5c9cd809 Added description paragraph. 2020-03-24 10:23:44 -07:00
Simon Johnston 6a3d8f65e3 Added is_valid_local_part and is_valid_domain. Also now URI-encode addresses in to_uri. 2020-03-24 10:12:48 -07:00
Simon Johnston 1e7c5852e1 removed trailing newline 2020-03-24 09:49:07 -07:00
Simon Johnston 06c3b78650 Pre-bump version 2020-03-24 09:41:30 -07:00
Simon Johnston 40ccda1cd4 Test for empty quoted local-part 2020-03-24 09:38:47 -07:00
Simon Johnston 90757166b0 Finalized UTF-8, fixed quoting for '@' 2020-03-24 09:29:03 -07:00
Simon Johnston 6f3aa4e7e6 Updated spec list, UTF-8 support (via is_uchar). 2020-03-24 08:46:45 -07:00
Simon Johnston 5dd80bcc70 Added to TODO 2020-03-23 20:59:48 -07:00
Simon Johnston 0d6786f83e Documentation. 2020-03-23 20:54:13 -07:00
Simon Johnston 1884ac0e4e Updated Cargo.toml metadata 2020-03-23 20:32:57 -07:00
Simon Johnston db2e8bb60c Initial push 2020-03-23 20:27:58 -07:00