This file describes the changes / additions / fixes between macro releases.
Bumped dependency versions to the latest. (#2 - @KYovchevski)
syn:1.0->2.0darling:0.10->0.20
Re-wrote the macro to use darling and the 1.0 versions of syn and quote.
The error type that is expected to be in scope is now NvmlError.
- Support for the
defaultattribute has been removed
The UnexpectedVariant error kind is now expected to hold the value that caused the error.
The macro is now meant to be used with numerical constants instead of Rust enums. This was done for safety reasons; see rust-lang/rust#36927 for more information.
has_countattribute removed and replaced withdefault
Initial release providing the functionality necessary to wrap Rust enum-based C enum bindings.
derive on Rust enum `Foo`
`Foo` wraps Rust enum `Bar`
`Bar` was auto-generated within bindings for C enum `Bar`