We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d673c4d commit 9706182Copy full SHA for 9706182
form_urlencoded/Cargo.toml
@@ -11,5 +11,5 @@ edition = "2018"
11
test = false
12
13
[dependencies]
14
-matches = "0.1"
+matches = "0.1.9"
15
percent-encoding = { version = "2.1.0", path = "../percent_encoding" }
form_urlencoded/src/lib.rs
@@ -13,12 +13,18 @@
//! Converts between a string (such as an URL’s query string)
//! and a sequence of (name, value) pairs.
16
+#![no_std]
17
+extern crate alloc;
18
+
19
#[macro_use]
20
extern crate matches;
21
22
+use alloc::{
23
+ borrow::{Borrow, Cow, ToOwned},
24
+ string::String,
25
+};
26
+use core::str;
27
use percent_encoding::{percent_decode, percent_encode_byte};
-use std::borrow::{Borrow, Cow};
-use std::str;
28
29
/// Convert a byte string in the `application/x-www-form-urlencoded` syntax
30
/// into a iterator of (name, value) pairs.
0 commit comments