@@ -28,20 +28,23 @@ debugger_test = "0.1"
2828debugger_test_parser = " 0.1"
2929
3030[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 }
3537
3638[features ]
3739default = [" 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 = []
4042# UNSTABLE FEATURES (requires Rust nightly)
4143# Enable to use the #[debugger_visualizer] attribute.
4244debugger_visualizer = []
4345# Expose internal offsets of the URL.
4446expose_internals = []
47+ serde = [" dep:serde" , " no-std-net/serde" ]
4548
4649[[bench ]]
4750name = " parse_url"
0 commit comments