version bumps

rename
Pantonshire 2 years ago
parent c48f46ea80
commit c5efe98a6c

@ -11,7 +11,7 @@ Add to your Cargo.toml file:
```toml
[dependencies]
enumscribe = "0.2"
enumscribe = "0.3"
```
Derive macros and [`serde`](https://crates.io/crates/serde) support are enabled by default. They can be disabled by
@ -190,7 +190,3 @@ Here is a table to show which traits you should derive, depending on your enum:
There are also `ScribeString` and `TryScribeString` traits which can be used in the same situations as `ScribeCowStr` and `TryScribeCowStr`, respectively.
These traits produce a `String` rather than a `Cow<'static, str>`, so they will always perform an allocation. Therefore, you should prefer the
`ScribeCowStr` traits over the `ScribeString` traits, unless you *really* don't want to use a `Cow` for whatever reason.
## Plans for the future
- [ ] Converting to / from types other than strings
- [ ] Unix-permissions-style encoding for collections of enum variants

@ -1,17 +1,17 @@
[package]
name = "enumscribe"
version = "0.2.1"
version = "0.3.0"
authors = ["Tom Panton <pantonshire@gmail.com>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/Pantonshire/enumscribe"
repository = "https://github.com/pantonshire/enumscribe"
readme = "README.md"
description = "Derive macros for converting between enums and strings"
categories = ["encoding"]
keywords = ["enum", "derive", "serde"]
[dependencies]
enumscribe_derive = { version = "0.2.1", path = "../enumscribe_derive", default-features = false, optional = true }
enumscribe_derive = { version = "0.3.0", path = "../enumscribe_derive", default-features = false, optional = true }
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }

@ -1,6 +1,6 @@
# enumscribe
[![Build Status](https://travis-ci.com/Pantonshire/enumscribe.svg?branch=main)](https://travis-ci.com/Pantonshire/enumscribe)
[![crates.io](https://img.shields.io/crates/v/enumscribe)](https://crates.io/crates/enumscribe)
This crate provides derive macros for converting between simple enums and strings. It also includes derive macros for
[`serde::Serialize`](https://docs.serde.rs/serde/trait.Serialize.html) and
@ -11,7 +11,7 @@ Add to your Cargo.toml file:
```toml
[dependencies]
enumscribe = "0.2"
enumscribe = "0.3"
```
Derive macros and [`serde`](https://crates.io/crates/serde) support are enabled by default. They can be disabled by

@ -1,10 +1,10 @@
[package]
name = "enumscribe_derive"
version = "0.2.1"
version = "0.3.0"
authors = ["Tom Panton <pantonshire@gmail.com>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/Pantonshire/enumscribe"
repository = "https://github.com/pantonshire/enumscribe"
readme = "README.md"
description = "Derive macros for converting between enums and strings"

@ -1,6 +1,6 @@
# enumscribe
[![Build Status](https://travis-ci.com/Pantonshire/enumscribe.svg?branch=main)](https://travis-ci.com/Pantonshire/enumscribe)
[![crates.io](https://img.shields.io/crates/v/enumscribe)](https://crates.io/crates/enumscribe)
This crate provides derive macros for converting between simple enums and strings. It also includes derive macros for
[`serde::Serialize`](https://docs.serde.rs/serde/trait.Serialize.html) and
@ -11,7 +11,7 @@ Add to your Cargo.toml file:
```toml
[dependencies]
enumscribe = "0.2"
enumscribe = "0.3"
```
Derive macros and [`serde`](https://crates.io/crates/serde) support are enabled by default. They can be disabled by

Loading…
Cancel
Save