https://github.com/mehcode/emailx-rs
Robust email syntax and deliverability validation.
https://github.com/mehcode/emailx-rs
Last synced: about 2 months ago
JSON representation
Robust email syntax and deliverability validation.
- Host: GitHub
- URL: https://github.com/mehcode/emailx-rs
- Owner: mehcode
- License: apache-2.0
- Created: 2018-08-16T20:52:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T21:10:24.000Z (over 7 years ago)
- Last Synced: 2025-01-23T12:46:40.117Z (about 1 year ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# emailx

[](https://travis-ci.org/mehcode/emailx-rs)
[](https://crates.io/crates/emailx)
[](https://docs.rs/emailx)
> Robust email syntax and deliverability validation for Rust.
## Usage
```toml
[dependencies]
emailx = "0.1"
```
```rust
use emailx;
// [...]
emailx::validate("user@domain").map(|is_valid| {
// Checks against a very simple regex
// Checks for at least 1 MX record
})
```
## License
This project is licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in futures-rs by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.