From 6c2f473daf7c95bfd81ab953ebaa88336b72a470 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Thu, 27 Apr 2023 15:50:14 -0400 Subject: [PATCH] =?UTF-8?q?v0.5.0=20=E2=80=94=20Make=20CLI=20dependencies?= =?UTF-8?q?=20optional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- CHANGELOG.md | 4 ++-- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f11c6a..6ccec6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -v0.5.0 (in development) ------------------------ +v0.5.0 (2023-04-27) +------------------- - 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 diff --git a/Cargo.lock b/Cargo.lock index e9fcdc7..dd98d4f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -114,7 +114,7 @@ dependencies = [ [[package]] name = "ghrepo" -version = "0.5.0-dev" +version = "0.5.0" dependencies = [ "assert_cmd", "lexopt", diff --git a/Cargo.toml b/Cargo.toml index b5d3899..679258b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghrepo" -version = "0.5.0-dev" +version = "0.5.0" edition = "2021" rust-version = "1.65" description = "Parse & construct GitHub repository URLs & specifiers" diff --git a/README.md b/README.md index 1cac466..fa4fce3 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,14 @@ in your Cargo project, add the following to your `Cargo.toml`: # By default, ghrepo depends on some packages only needed for its command-line # interface; disable the default features so that these dependencies aren't # pulled in when using as a library. -ghrepo = { version = "0.4.0", default-features = false } +ghrepo = { version = "0.5.0", default-features = false } ``` To use `ghrepo` with its `serde` feature, add the following instead: ```toml [dependencies] -ghrepo = { version = "0.4.0", default-features = false, features = ["serde"] } +ghrepo = { version = "0.5.0", default-features = false, features = ["serde"] } ``` To install the `ghrepo` command on your system, use `cargo install`: