Skip to content

Commit

Permalink
chore: bump version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mplanchard committed Oct 4, 2021
1 parent 004ef6d commit 979958a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.2.0] - 2021-10-03

### Added

- Added `--slug`, `--version`, and `--help` arguments to `cuid` binary ([b93b5b3])
Expand Down Expand Up @@ -75,7 +77,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- CUID & CUID slug generation
- Benchmark suite

[unreleased]: https://github.com/mplanchard/cuid-rust/compare/v1.1.0...HEAD
[unreleased]: https://github.com/mplanchard/cuid-rust/compare/v1.2.0...HEAD
[1.2.0]: https://github.com/mplanchard/cuid-rust/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/mplanchard/cuid-rust/compare/v1.0.2...v1.1.0
[1.0.2]: https://github.com/mplanchard/cuid-rust/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/mplanchard/cuid-rust/compare/v1.0.0...v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cuid"
version = "1.1.0"
version = "1.2.0"
license = "MIT"
edition = "2018"
authors = ["Matthew Planchard <[email protected]>"]
Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ implementation of which may be found [here](https://github.com/ericelliott/cuid)
In cargo.toml

```toml
cuid = "1.1.0"
cuid = "1.2.0"
```

Or install the binary:
Expand All @@ -39,13 +39,24 @@ fn main() -> () {
threads share the same atomic counter, which is used as a component of the
generated CUID.

This package also provides a binary:
This package also provides a binary if installed via `cargo install`.

Its default behavior is to generate a CUID:

```sh
> cuid
ckmqrwysb0000iz5p4u1b79hd
```

You can also generate a slug:

```sh
> cuid --slug
4k0000dszy
```

See `cuid --help` for more information.

## Performance

Performance is one of the primary concerns of this library (see
Expand Down

0 comments on commit 979958a

Please sign in to comment.