loopctl-derive 0.3.0

Derive macro for the loopctl Tool trait
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use loopctl::Tool;
use serde::Deserialize;

/// Doc.
#[derive(Tool, Deserialize)]
#[tool(description = "x")]
struct Bad {
    a: String,
    #[tool(default)]
    b: u32,
}

fn main() {}