Skip to content

Commit

Permalink
Version bump: v0.2.0 (MFEK fork)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed Nov 14, 2021
1 parent 995deaa commit e201225
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "enum_primitive"
version = "0.1.1"
version = "0.2.0"
license = "MIT"
description = "Macro to generate num::FromPrimitive instances for enum that works in Rust 1.0"
authors = ["Anders Kaseorg <[email protected]>"]
description = "Macro to generate num::FromPrimitive instances for enum that works in Rust 1.0 (MFEK fork)"
authors = ["Anders Kaseorg <[email protected]>", "Fredrick Brennan <[email protected]>"]
documentation = "https://andersk.github.io/enum_primitive-rs/enum_primitive/"
repository = "https://github.com/andersk/enum_primitive-rs.git"
homepage = "https://github.com/andersk/enum_primitive-rs"
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# enum_primitive [![Build Status](https://travis-ci.org/andersk/enum_primitive-rs.svg?branch=master)](https://travis-ci.org/andersk/enum_primitive-rs)
# enum\_primitive [![Build Status](https://travis-ci.org/MFEK/enum_primitive.rlib.svg?branch=master)](https://travis-ci.org/MFEK/enum_primitive.rlib)

This crate exports a macro `enum_from_primitive!` that wraps an
`enum` declaration and automatically adds an implementation of
Expand All @@ -8,9 +8,12 @@ alternative to the built-in `#[derive(FromPrimitive)]`, which
requires the unstable `std::num::FromPrimitive` and is disabled in
Rust 1.0.

Note: This is the MFEK fork, the original author Anders Kaseorg abandoned the
project without a maintainer in 2017.

## Documentation

https://andersk.github.io/enum_primitive-rs/enum_primitive/
[https://mfek.org/enum\_primitive-rs/enum\_primitive/](https://mfek.org/enum_primitive.rlib/enum_primitive/)

## Usage

Expand Down

0 comments on commit e201225

Please sign in to comment.