Skip to content

Commit bd7178b

Browse files
committed
Release 0.3.0
1 parent 74f49af commit bd7178b

File tree

6 files changed

+20
-8
lines changed

6 files changed

+20
-8
lines changed

CHANGELOG

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.3.0]
8+
### Changed
9+
- Depend on frunk v0.4
10+
11+
### Fixed
12+
- Non-exposed dependency bumps
13+
- frunk-macro-helpers v0.0.5
14+
- syn v1.0
15+
- proc-macro2 v1.0
16+
- quote v1.0
17+
- Moved to Github Actions and Merge Queues for CI
18+
719
## [0.2.1] - 03-03-2021
820
### Fixed
921
- Correctly handle types with `where` clauses

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ members = [
44
"derive-tests",
55
"core",
66
]
7+
resolver = "2"

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Frunk Enum Support
22

3-
[![Crates.io - frunk-enum](https://img.shields.io/crates/v/frunk-enum-core.svg)](https://crates.io/crates/frunk-enum-core) [![Build Status](https://travis-ci.org/Metaswitch/frunk-enum.svg?branch=master)](https://travis-ci.org/Metaswitch/frunk-enum) [![License: MIT/APACHE-2.0](https://img.shields.io/badge/License-MIT%2FAPACHE--2.0-green.svg)](https://opensource.org/licenses/MIT)
3+
[![Crates.io - frunk-enum](https://img.shields.io/crates/v/frunk-enum-core.svg)](https://crates.io/crates/frunk-enum-core) [![License: MIT/APACHE-2.0](https://img.shields.io/badge/License-MIT%2FAPACHE--2.0-green.svg)](https://opensource.org/licenses/MIT)
44

55
## Usage
66

@@ -12,7 +12,7 @@ https://docs.rs/frunk/latest/frunk/labelled/trait.LabelledGeneric.html.
1212

1313
To take advantage of this feature for your own enum you need to:
1414

15-
* Add the `frunk-enum-derive` crate to your `Cargo.toml`
15+
* Add the `frunk-enum-derive` as a `[dev-dependency]` to your `Cargo.toml`
1616
* Mark the enum with the custom derive:
1717

1818
```
@@ -22,7 +22,8 @@ To take advantage of this feature for your own enum you need to:
2222
Baz { name: String, id: Identity },
2323
}
2424
```
25-
* Add the `frunk-enum-core` and `frunk-core` crates to your `Cargo.toml`
25+
* Add the `frunk-enum-core` and `frunk-core` crates as `[depednency]` entries
26+
to your `Cargo.toml`
2627
* Then (assuming there's a `NewFoo` enum with the same structure as `Foo`) you can write:
2728
2829
```

bors.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "frunk-enum-core"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Metaswitch Networks Ltd"]
55
edition = "2021"
66
description = "Implemenation of genericized enums for use with frunk"

derive/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "frunk-enum-derive"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Metaswitch Networks Ltd"]
55
edition = "2021"
66
description = "Derive macros to implement the frunk::LabelledGeneric trait on enums"
@@ -22,7 +22,7 @@ itertools = "0.12"
2222
frunk_proc_macro_helpers = "0.1"
2323

2424
[dev-dependencies]
25-
frunk-enum-core = { version = "0.2.1", path = "../core" }
25+
frunk-enum-core = { version = "0.3.0", path = "../core" }
2626
frunk = "0.4.1"
2727
frunk_core = "0.4.1"
2828
syn = { version = "1.0", features = ["full"] }

0 commit comments

Comments
 (0)