Skip to content

Commit 979958a

Browse files
committed
chore: bump version to 1.2.0
1 parent 004ef6d commit 979958a

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.2.0] - 2021-10-03
11+
1012
### Added
1113

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

78-
[unreleased]: https://github.com/mplanchard/cuid-rust/compare/v1.1.0...HEAD
80+
[unreleased]: https://github.com/mplanchard/cuid-rust/compare/v1.2.0...HEAD
81+
[1.2.0]: https://github.com/mplanchard/cuid-rust/compare/v1.1.0...v1.2.0
7982
[1.1.0]: https://github.com/mplanchard/cuid-rust/compare/v1.0.2...v1.1.0
8083
[1.0.2]: https://github.com/mplanchard/cuid-rust/compare/v1.0.1...v1.0.2
8184
[1.0.1]: https://github.com/mplanchard/cuid-rust/compare/v1.0.0...v1.0.1

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cuid"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
license = "MIT"
55
edition = "2018"
66
authors = ["Matthew Planchard <[email protected]>"]

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ implementation of which may be found [here](https://github.com/ericelliott/cuid)
1515
In cargo.toml
1616

1717
```toml
18-
cuid = "1.1.0"
18+
cuid = "1.2.0"
1919
```
2020

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

42-
This package also provides a binary:
42+
This package also provides a binary if installed via `cargo install`.
43+
44+
Its default behavior is to generate a CUID:
4345

4446
```sh
4547
> cuid
4648
ckmqrwysb0000iz5p4u1b79hd
4749
```
4850

51+
You can also generate a slug:
52+
53+
```sh
54+
> cuid --slug
55+
4k0000dszy
56+
```
57+
58+
See `cuid --help` for more information.
59+
4960
## Performance
5061

5162
Performance is one of the primary concerns of this library (see

0 commit comments

Comments
 (0)