restless_query/lib.rs
1//! # restless query
2//!
3//! This crate implements several strategies to encode query parameters mechanically from Rust
4//! structs. As a consumer of `restless`, you should not be using this crate directly, but rather
5//! the `restless` crate and activate the features there.
6
7#![warn(missing_docs)]
8
9pub use restless_core::query::ToQuery;
10
11macro_rules! module {
12 ($feature:expr, $name:ident) => {
13 #[cfg(feature = $feature)]
14 mod $name;
15 #[cfg(feature = $feature)]
16 pub use $name::*;
17 };
18}
19
20module!("qs", qs);
21module!("urlencoded", urlencoded);