Skip to content

Commit d406525

Browse files
Release v0.4.1 (#17)
1 parent fb12659 commit d406525

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: GitHub Pages
1+
name: gh-pages
22

33
on:
44
push:

Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
[package]
22
name = "superstruct"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
edition = "2021"
5-
description = "Proc-macro for versioned data types"
5+
description = "Versioned data types with minimal boilerplate"
66
license = "Apache-2.0"
77
repository = "https://github.com/sigp/superstruct"
8+
documentation = "https://sigp.github.io/superstruct/"
9+
keywords = ["schema", "subtype", "backwards compatibility", "procedural macro"]
10+
categories = ["rust-patterns"]
811

912
[lib]
1013
name = "superstruct"

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ SuperStruct
22
===========
33

44
![test status](https://github.com/sigp/superstruct/actions/workflows/test-suite.yml/badge.svg)
5+
![crates.io](https://img.shields.io/crates/v/superstruct.svg)
56

67
SuperStruct is a library for working with a family of related struct _variants_, where each variant shares some common fields, and adds in unique fields of its own.
78

8-
Its design is informed by the implementation of blockchain consensus upgrades, which often change core data structures by removing some old fields and replacing them with new ones.
9+
For more information please see the [SuperStruct Guide](https://sigp.github.io/superstruct/).
910

10-
Currently the library is unstable and evolving rapidly alongside [Lighthouse][] as it becomes hard-fork aware.
11+
## Project Showcase
1112

12-
You can run `cargo expand --test basic` to see the code generated for `tests/basic.rs`.
13+
SuperStruct is used in the following projects:
1314

14-
[Lighthouse]: https://github.com/sigp/lighthouse
15+
* [`sigp/lighthouse`](https://github.com/sigp/lighthouse): Ethereum consensus client
16+
17+
## License
18+
19+
Apache 2.0

0 commit comments

Comments
 (0)