3 releases
0.1.4 | Aug 9, 2021 |
---|---|
0.1.3 |
|
0.1.2 | Feb 11, 2021 |
0.1.1 | Feb 4, 2021 |
0.1.0 |
|
#2774 in Rust patterns
55 downloads per month
Used in 4 crates
77KB
821 lines
Contains (autotools obfuscated code, 125KB) configure, (obscure autoconf code, 1KB) configure.ac
Rust Fake Enums
A small library that allows you to declare "fake" enums, which can be safely used with FFI, or reinterpreted from bytes sourced from a user-controlled input.
License
Copyright (C) 2021 Connor Horman
This repository is dual licensed under the terms of the MIT and Apachev2 license. If you deal in the software, you must comply with the terms of both licenses.
Any contributions intentionally submitted by you for inclusion in this repository must be dual licensed as above.
lib.rs
:
Support for fake enum types, that act like rust enums, but all values of the underlying type
are accepted as values.
See the macro fake_enum
for details.
The type of an elf file
The type of an Nbt Tag