@@ -28,20 +28,23 @@ debugger_test = "0.1"
28
28
debugger_test_parser = " 0.1"
29
29
30
30
[dependencies ]
31
- form_urlencoded = { version = " 1.1.0" , path = " ../form_urlencoded" , default-features = false }
32
- idna = { version = " 0.3.0" , path = " ../idna" , default-features = false }
33
- percent-encoding = { version = " 2.2.0" , path = " ../percent_encoding" , default-features = false }
34
- serde = {version = " 1.0" , optional = true , features = [" derive" ]}
31
+ form_urlencoded = { version = " 1.1.0" , path = " ../form_urlencoded" , default-features = false , features = [" alloc" ] }
32
+ idna = { version = " 0.3.0" , path = " ../idna" , default-features = false , features = [" alloc" ] }
33
+ percent-encoding = { version = " 2.2.0" , path = " ../percent_encoding" , default-features = false , features = [" alloc" ] }
34
+ data-url = { version = " 0.2.0" , path = " ../data-url" , default-features = false , features = [" alloc" ] }
35
+ serde = {version = " 1.0" , optional = true , default-features = false , features = [" alloc" , " derive" ]}
36
+ no-std-net = { version = " 0.6.0" , default-features = false }
35
37
36
38
[features ]
37
39
default = [" std" ]
38
- std = [" idna/std" , " percent-encoding/std" , " form_urlencoded/std" , " alloc" ]
39
- alloc = [" idna/alloc " , " percent-encoding/alloc " , " form_urlencoded/alloc " ]
40
+ std = [" idna/std" , " percent-encoding/std" , " form_urlencoded/std" , " no-std-net/std " , " alloc" ]
41
+ alloc = []
40
42
# UNSTABLE FEATURES (requires Rust nightly)
41
43
# Enable to use the #[debugger_visualizer] attribute.
42
44
debugger_visualizer = []
43
45
# Expose internal offsets of the URL.
44
46
expose_internals = []
47
+ serde = [" dep:serde" , " no-std-net/serde" ]
45
48
46
49
[[bench ]]
47
50
name = " parse_url"
0 commit comments