diff --git a/README.md b/README.md index 3c01ec9..8636290 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/enumscribe/Cargo.toml b/enumscribe/Cargo.toml index f12d866..9c2378f 100644 --- a/enumscribe/Cargo.toml +++ b/enumscribe/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "enumscribe" -version = "0.2.1" +version = "0.3.0" authors = ["Tom Panton "] 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"] } diff --git a/enumscribe/README.md b/enumscribe/README.md index de9bd06..8636290 100644 --- a/enumscribe/README.md +++ b/enumscribe/README.md @@ -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 diff --git a/enumscribe_derive/Cargo.toml b/enumscribe_derive/Cargo.toml index 134a36c..3c7e7aa 100644 --- a/enumscribe_derive/Cargo.toml +++ b/enumscribe_derive/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "enumscribe_derive" -version = "0.2.1" +version = "0.3.0" authors = ["Tom Panton "] 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" diff --git a/enumscribe_derive/README.md b/enumscribe_derive/README.md index de9bd06..8636290 100644 --- a/enumscribe_derive/README.md +++ b/enumscribe_derive/README.md @@ -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