usage_derive/lib.rs
1//! Derive macros for [usage-rs](https://github.com/jdx/usage-rs).
2//!
3//! The macros here read usage-native attributes off a struct or enum and emit
4//! two things: static tables plus a monomorphic parse function for the hot path,
5//! and a cold function that renders the same declaration as a usage spec.
6//!
7//! Depend on the `usage-rs` facade rather than on this crate directly.
8//!
9//! # Status
10//!
11//! Reserved and empty. The derive lands in milestone 4 — see
12//! [PROGRESS.md](https://github.com/jdx/usage-rs/blob/main/PROGRESS.md).
13
14#![forbid(unsafe_code)]