wrapcenum-derive
Derive macro for nvml-wrapper, not for general use
0.4.1
6.7M downloads/mo
#3876 most downloaded on crates.io
Cldfire/wrapcenum-derive
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 3.7 years
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
5 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
5 releases · May 2017 to Feb 2024Releases
latest 5-
0.4.110 Feb 2024Release notes
Open source →Release Summary
Bumped dependency versions to the latest. (#2 - @KYovchevski)
Dependencies
syn:1.0->2.0darling:0.10->0.20
-
0.4.016 Jun 2020Release notes
Open source →Release Summary
Re-wrote the macro to use
darlingand the1.0versions ofsynandquote.Changes
The error type that is expected to be in scope is now
NvmlError.Removals
- Support for the
defaultattribute has been removed
- Support for the
-
0.3.020 Jul 2017Release notes
Open source →Changes
The
UnexpectedVarianterror kind is now expected to hold the value that caused the error. -
0.2.008 Jun 2017Release notes
Open source →Release Summary
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.
Changes
has_countattribute removed and replaced withdefault
-
0.1.017 May 2017Release notes
Open source →Release Summary
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`