arg-picker-macros 0.3.2
“Macros for arg-picker”
Basename is uppercase README.mdRelease published within seven days
SHA-256af1ac52a9b597e1f9fb7bb08de7d8cb2ef70a4943f3d4286c9beef5f8dcb8f3a
MaleculeO(S)H(Cm)
Evidence
1# Mingling Picker Macros
2
3Procedural macros for [Mingling Picker](https://github.com/mingling-rs/mingling/tree/main/mingling_picker), enabled by the `mingling/picker` feature.
4
5```toml
⋯4 lines
15:11… `arg!`
16
17Declares a parameter definition for use with `Picker`'s `.pick()` method:
18
19```rust,ignore
20use mingling_picker_macros::arg;
21
22// Named flag wi …
35:19… rbose: Flag];
36```
37
38### Derive macro `Pickable`
39
40This derive macro is gated behind the `derive` feature of `arg-picker`.
41
42Generates parsing implementations for structs and enums.
43
44For a named struct, it generates a `Pickable` implementation. All field types
45must implement `Pickable`, and at most 32 fields are supported. A field
46without `#[arg(...)]` is pos …
8mod derive;
9mod internal_repeat;
10
11/// Root path the generated code reaches `arg-picker` through.
12///
13/// With `mingling_support`, that is mingling's re-export of this crate, so a user who
14/// depends on mingling alone can use the macros; without it, it is `arg-p …
34:18… at::internal_repeat(input)
35}
36
37/// Quick builder for `PickerArg`.
38///
39/// # Syntax
⋯5 lines
No evidence locations were recorded for this file. Raw result