2 releases
Uses new Rust 2024
| 0.6.1 | Jan 18, 2026 |
|---|---|
| 0.6.0 | Jan 17, 2026 |
#9 in #elicitor
Used in 8 crates
(via elicitor)
99KB
2K
SLoC
Procedural macro for deriving Survey implementations.
This crate provides the #[derive(Survey)] macro which generates:
Surveytrait implementation- Type-specific builder with
suggest_*andassume_*methods
elicitor
Derive interactive surveys from Rust types.
This workspace contains the elicitor crates:
| Crate | Description |
|---|---|
| elicitor | Main crate with #[derive(Survey)] macro |
| elicitor-types | Core data structures and traits |
| elicitor-macro | Procedural macro implementation |
Backends:
| Crate | Description |
|---|---|
| elicitor-wizard-dialoguer | CLI prompts via dialoguer |
| elicitor-wizard-requestty | CLI prompts via requestty |
| elicitor-wizard-ratatui | Terminal UI wizard |
| elicitor-form-ratatui | Terminal UI form |
| elicitor-form-egui | Native GUI form |
Document generators:
| Crate | Description |
|---|---|
| elicitor-doc-html | HTML form output |
| elicitor-doc-latex | LaTeX document output |
See the elicitor README for usage documentation.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Dependencies
~110–480KB
~11K SLoC