{"id":16687894,"url":"https://github.com/omid/email_provider_validator","last_synced_at":"2026-03-09T06:31:06.046Z","repository":{"id":227500815,"uuid":"771503080","full_name":"omid/email_provider_validator","owner":"omid","description":"A library to find if emails are from free or disposal/temporary providers","archived":false,"fork":false,"pushed_at":"2026-02-15T00:14:14.000Z","size":7267,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-15T07:56:12.381Z","etag":null,"topics":["disposable-email","email","email-provider","email-validation","temporary-email","validation","validator"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-13T12:20:59.000Z","updated_at":"2026-02-15T00:14:17.000Z","dependencies_parsed_at":"2024-03-31T01:22:27.328Z","dependency_job_id":"672bdd55-65e6-40a5-9141-908c61845c56","html_url":"https://github.com/omid/email_provider_validator","commit_stats":null,"previous_names":["omid/email_provider_validator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/omid/email_provider_validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omid%2Femail_provider_validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omid%2Femail_provider_validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omid%2Femail_provider_validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omid%2Femail_provider_validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omid","download_url":"https://codeload.github.com/omid/email_provider_validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omid%2Femail_provider_validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30284774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["disposable-email","email","email-provider","email-validation","temporary-email","validation","validator"],"created_at":"2024-10-12T15:25:40.380Z","updated_at":"2026-03-09T06:31:06.016Z","avatar_url":"https://github.com/omid.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Crates.io](https://img.shields.io/crates/v/email_provider_validator.svg?style=flat)](https://crates.io/crates/email_provider_validator)\n[![docs](https://docs.rs/email_provider_validator/badge.svg)](https://docs.rs/email_provider_validator)\n\n# Email Validation Library\n\nThis Rust library provides functionality for validating email addresses based on different criteria,\nsuch as whether they belong to free or disposable/temporary email domains.\nThe library offers features that can be toggled using Rust Cargo features.\n\n## Features\n\nThe library provides the following functions:\n\n- `is_work_domain`: Checks if the given domain is a work email domain.\n- `is_work_email`: Checks if the given email address belongs to a work email domain.\n\nThese two functions will check depending on the features you enabled,\nif you enabled the `free` feature, it will check if the email is not free,\nif you enabled the `disposable` feature, it will check if the email is not disposable.\nAnd if you enable both, it will check if the email is not free and not disposable.\n\n### Free Email Validation\n\nEnable the `free` feature to include functionality related to free email validation, e.g.: `gmail.com`.\nThe module includes a pre-generated list of free email domains and the following functions are provided:\n\n- `is_free_domain`: Checks if the given domain is a free email domain.\n- `is_free_email`: Checks if the given email address belongs to a free email domain.\n\n### Disposable Email Validation\n\nEnable the `disposable` feature to include functionality related to disposable/temporary email validation, e.g.: `temp-mail.org`. \nThe module includes a pre-generated list of disposable email domains and the following functions are provided:\n\n- `is_disposable_domain`: Checks if the given domain is a disposable email domain.\n- `is_disposable_email`: Checks if the given email address belongs to a disposable email domain.\n\nThis feature is disabled by default because the list of disposable email domains is large and may not be necessary for all use cases.\n\n## Usage\n\nTo use this library, add it as a dependency in your `Cargo.toml` file:\n\n```toml\n[dependencies]\nemail_provider_validator = \"0.1\"\n```\n\nThe default feature is set to `free`, meaning the free email validation functions are included by default.\nYou can customize the features by specifying them in the `Cargo.toml` file.\n\n### Example Usage\n\n```rust\nuse email_validation::{is_free_email, is_disposable_email};\n\nfn main() {\n    let email = b\"test@gmail.com\";\n    \n    if is_free_email(email) {\n        println!(\"This is a free email address.\");\n    } else {\n        println!(\"This is not a free email address.\");\n    }\n\n    if is_disposable_email(email) {\n        println!(\"This is a disposable email address.\");\n    } else {\n        println!(\"This is not a disposable email address.\");\n    }\n}\n```\n\n## Disclaimer\n\nThis library is not a complete solution for email validation, and it is not guaranteed to be 100% accurate.\n\nIt is intended to be used as a tool to help filter out free email and disposable email address providers.\n\nIf you need to validate an email address format, you should use other libraries,\nlike [email_address](https://crates.io/crates/email_address) or [fast_chemail](https://crates.io/crates/fast_chemail/).\n\n## Contributing\n\nFeel free to contribute to the project by opening issues or submitting pull requests. Ensure that any new features or changes are thoroughly tested.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomid%2Femail_provider_validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomid%2Femail_provider_validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomid%2Femail_provider_validator/lists"}