| Crates.io | passless-config-doc |
| lib.rs | passless-config-doc |
| version | 0.7.1 |
| created_at | 2025-11-23 03:16:48.003236+00 |
| updated_at | 2026-01-18 22:44:58.015131+00 |
| description | Procedural macro to generate documented configuration file for Passless. |
| homepage | https://github.com/pando85/passless |
| repository | https://github.com/pando85/passless |
| max_upload_size | |
| id | 1946068 |
| size | 46,764 |
Procedural macro to generate documented configuration files for Passless.
This crate provides the #[derive(ConfigDoc)] macro that extracts documentation from struct field
doc comments and generates TOML configuration files with inline documentation.
use passless_config_doc::ConfigDoc;
#[derive(ConfigDoc)]
struct MyConfig {
/// This is a documented field
#[default("default_value".to_string())]
pub field: String,
}
This macro is specifically designed for use with the Passless FIDO2 authenticator.