restful 0.2.0

REST API helpers: validated Axum extractors, response envelopes, pagination, ordering, and field selection
1
2
3
4
5
6
7
8
9
10
11
//! Sort order for list endpoints.
//!
//! With the `macros` feature, `#[order_by(Fields)]` adds `order_by` and
//! `order_dir` query fields to a struct.

mod direction;

pub use direction::OrderByDirection;

#[cfg(feature = "macros")]
pub use restful_macros::order_by;