File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ edition = "2018"
1111test = false
1212
1313[dependencies ]
14- matches = " 0.1"
14+ matches = " 0.1.9 "
1515percent-encoding = { version = " 2.1.0" , path = " ../percent_encoding" }
Original file line number Diff line number Diff line change 1313//! Converts between a string (such as an URL’s query string)
1414//! and a sequence of (name, value) pairs.
1515
16+ #![ no_std]
17+ extern crate alloc;
18+
1619#[ macro_use]
1720extern crate matches;
1821
22+ use alloc:: {
23+ borrow:: { Borrow , Cow , ToOwned } ,
24+ string:: String ,
25+ } ;
26+ use core:: str;
1927use percent_encoding:: { percent_decode, percent_encode_byte} ;
20- use std:: borrow:: { Borrow , Cow } ;
21- use std:: str;
2228
2329/// Convert a byte string in the `application/x-www-form-urlencoded` syntax
2430/// into a iterator of (name, value) pairs.
You can’t perform that action at this time.
0 commit comments