You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/rust/qemu-api-macros
Paolo Bonzini 809c703a60 rust: qemu-api-macros: add automatic TryFrom/TryInto derivation
This is going to be fairly common. Using a custom procedural macro
provides better error messages and automatically finds the right
type.

Note that this is different from the same-named macro in the
derive_more crate.  That one provides conversion from e.g. tuples
to enums with tuple variants, not from integers to enums.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2 weeks ago
..
src rust: qemu-api-macros: add automatic TryFrom/TryInto derivation 2 weeks ago
Cargo.toml rust: cargo: store desired warning levels in workspace Cargo.toml 1 month ago
README.md rust: add utility procedural macro crate 3 months ago
meson.build rust: qemu-api-macros: always process subprojects before dependencies 2 months ago

README.md

qemu-api-macros - Utility macros for defining QEMU devices