NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1170 most downloaded on crates.io
Extract root domain and suffix from a domain name
Latest stable
2.3.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 2.1 years
Rarely documented
notes for 10 of 43 stable releases
3 versions withdrawn
withdrawn after publishing
10 years old
46 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
(cargo-release) publicsuffix version 2.1.1
(cargo-release) publicsuffix version 2.1.1
Nothing published for this version
(cargo-release) publicsuffix version 2.0.15
(cargo-release) publicsuffix version 2.0.15
(cargo-release) publicsuffix version 2.0.14
(cargo-release) publicsuffix version 2.0.14
(cargo-release) publicsuffix version 2.0.13
(cargo-release) publicsuffix version 2.0.13
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
If all you want is to do syntax checks, you can now just create an empty list to still take advantage of this library's domain and email parsing engin
If all you want is to do syntax checks, you can now just create an empty list to still take advantage of this library's domain and email parsing engines. Here is an example:-
let list = List::empty();
if list.parse_email("甲斐@黒川.日本").is_ok() {
// this is a valid email address
}
If this is all you use the library for, don't forget to disable default-features in your Cargo.toml so you don't download unnecessary dependencies.
This release adds support for validating the local-part of an email address.
This release adds support for validating the local-part of an email address.
Add support for validating email addresses
Add support for validating email addresses
Instead of having to specify whether you are parsing a domain, a host or a URL, now you can just call List::parse_str and it will extract a host from
Instead of having to specify whether you are parsing a domain, a host or a URL, now you can just call List::parse_str and it will extract a host from that string if any.
Now you can parse URLs using List::parse_url or hosts that can potentially be IP addresses using List::parse_host.
Now you can parse URLs using List::parse_url or hosts that can potentially be IP addresses using List::parse_host.
List::parse_domain rejects everything that is not a domain name. While this is very useful, domains and IP addresses are usually used interchangeably. Having to first check whether a host is an IP address before trying to parse it as a domain is not very convenient, hence List::parse_host. List::parse_url takes it a step further and allows you to just pass in a URL instead.
This release makes List::fetch and List::from_url (as well as all their dependencies) optional by adding a feature called "remote_list" and making it
This release makes List::fetch and List::from_url (as well as all their dependencies) optional by adding a feature called "remote_list" and making it default. You can then disable these methods by disabling default-features in your Cargo.toml.
This is a minor version bump, mainly to make use of native TLS libraries.
This is a minor version bump, mainly to make use of native TLS libraries.
Above all, I'm happy with the API so I don't see any breaking changes landing any time soon. I can therefore, safely declare this library stable.
At this point I think the library is sufficiently documented and well tested. Not only does it pass all official tests from Mozilla, it also passes a bunch of other tests mainly around domain syntax. Above all, I'm happy with the API so I don't see any breaking changes landing any time soon. I can therefore, safely declare this library stable.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.