Skip to content

Commit 6c2f473

Browse files
committed
v0.5.0 — Make CLI dependencies optional
- Increased MSRV to 1.65 - Convert error Displays to lowercase per Rust conventions - The packages needed soley for the CLI are now behind a default `cli` feature
1 parent f77714d commit 6c2f473

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
v0.5.0 (in development)
2-
-----------------------
1+
v0.5.0 (2023-04-27)
2+
-------------------
33
- Increased MSRV to 1.65
44
- Convert error Displays to lowercase per Rust conventions
55
- The packages needed soley for the CLI are now behind a default `cli` feature

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ghrepo"
3-
version = "0.5.0-dev"
3+
version = "0.5.0"
44
edition = "2021"
55
rust-version = "1.65"
66
description = "Parse & construct GitHub repository URLs & specifiers"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ in your Cargo project, add the following to your `Cargo.toml`:
2626
# By default, ghrepo depends on some packages only needed for its command-line
2727
# interface; disable the default features so that these dependencies aren't
2828
# pulled in when using as a library.
29-
ghrepo = { version = "0.4.0", default-features = false }
29+
ghrepo = { version = "0.5.0", default-features = false }
3030
```
3131

3232
To use `ghrepo` with its `serde` feature, add the following instead:
3333

3434
```toml
3535
[dependencies]
36-
ghrepo = { version = "0.4.0", default-features = false, features = ["serde"] }
36+
ghrepo = { version = "0.5.0", default-features = false, features = ["serde"] }
3737
```
3838

3939
To install the `ghrepo` command on your system, use `cargo install`:

0 commit comments

Comments
 (0)