diff options
author | 2022-08-16 17:42:37 +0200 | |
---|---|---|
committer | 2022-08-16 17:42:37 +0200 | |
commit | 9e157f453ae674a9f86601142fde91b85485883a (patch) | |
tree | 9ffa787646f5026a2c7d28dc5b1b2246545ae000 /src/util/sanitize_uri.rs | |
parent | fc0f0f9f15574b4f80bda8249c0763d5865cb8b2 (diff) | |
download | markdown-rs-9e157f453ae674a9f86601142fde91b85485883a.tar.gz markdown-rs-9e157f453ae674a9f86601142fde91b85485883a.tar.bz2 markdown-rs-9e157f453ae674a9f86601142fde91b85485883a.zip |
Add `no_std + alloc`
Diffstat (limited to '')
-rw-r--r-- | src/util/sanitize_uri.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/sanitize_uri.rs b/src/util/sanitize_uri.rs index 593a70e..969a4d8 100644 --- a/src/util/sanitize_uri.rs +++ b/src/util/sanitize_uri.rs @@ -1,6 +1,11 @@ //! Make urls safe. use crate::util::encode::encode; +use alloc::{ + format, + string::{String, ToString}, + vec::Vec, +}; /// Make a value safe for injection as a URL. /// |