We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a12715b + aea2ae2 commit dd068e5Copy full SHA for dd068e5
Cargo.toml
@@ -2,7 +2,7 @@
2
3
name = "url"
4
# When updating version, also modify html_root_url in the lib.rs
5
-version = "1.5.0"
+version = "1.5.1"
6
authors = ["The rust-url developers"]
7
8
description = "URL library for Rust, based on the WHATWG URL Standard"
src/parser.rs
@@ -57,6 +57,9 @@ simple_enum_error! {
57
Overflow => "URLs more than 4 GB are not supported",
58
}
59
60
+#[cfg(feature = "heapsize")]
61
+known_heap_size!(0, ParseError);
62
+
63
impl fmt::Display for ParseError {
64
fn fmt(&self, fmt: &mut Formatter) -> fmt::Result {
65
self.description().fmt(fmt)
0 commit comments