url/
lib.rs

1//! Url Utils Crate
2//!
3//! This crate contains functions for url
4//! percent encoding and decoding,
5
6#![cfg_attr(not(feature = "std"), no_std)]
7
8#[macro_use]
9extern crate alloc;
10
11type Result<T> = core::result::Result<T, Cow<'static, str>>;
12
13mod decode;
14use alloc::borrow::Cow;
15
16pub use decode::decode;
17
18mod encode;
19pub use encode::encode;
20
21#[cfg(feature = "bindings")]
22mod ffi;