Go to file
Wolfgang Bumiller c48e17fe26 macro: add cli property and remove specialization
Drop #!feature(specialization) in favor of having a `cli`
property for types to decide whether they are CLI
compatible.

The unconstrained_type! macro now has both ParseCli and
ParseCliFromStr in view, and requires one of the two to be
implemented for a type. This means that if a type implements
FromStr, it should "just work".

For types created without the help of the #[api] macro,
there's a shortcut to exclude a type from the CLI via
the no_cli_type!{typename} macro.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-17 12:31:29 +02:00
api-test testing a Router::api_dump method 2019-06-12 17:24:59 +02:00
proxmox cargo fmt --all 2019-06-12 09:48:30 +02:00
proxmox-api macro: add cli property and remove specialization 2019-06-17 12:31:29 +02:00
proxmox-api-macro macro: add cli property and remove specialization 2019-06-17 12:31:29 +02:00
proxmox-sys cargo fmt --all 2019-06-12 09:48:30 +02:00
proxmox-tools src/lib.rs: add hex_to_bin and bin_to_hex 2019-06-17 10:59:59 +02:00
.gitignore initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00
Cargo.toml add an api-test module 2019-06-12 15:54:52 +02:00
rust-toolchain initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00
rustfmt.toml initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00