summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-01-28 23:56:15 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2017-01-29 10:22:39 +0100
commit1d88bbb26b9caaa90993845042e21af444e9399a (patch)
tree598348627d8992330406ab6414ffd0cadf8d696f /src/lib.rs
parente140c2b5c5bb5abab7fcc6a9d4540aaa3bf566a6 (diff)
Use itoa to not allocate a String to serialize an integer
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0c1a99e..7a3be26 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,5 +1,6 @@
//! `x-www-form-urlencoded` meets Serde
+extern crate itoa;
#[macro_use]
extern crate serde;
extern crate url;