Skip to content

Commit 6e2cde3

Browse files
committed
v0.6.0 — Treating GHRepo instances as strings
- Remove library installation instructions from README - List all features in the library documentation - Increased MSRV to 1.70 - `GHRepo` now implements the following traits: - `AsRef<str>` - `Deref<Target=str>` - `From<GHRepo> for String` - `Ord` - `PartialEq<&'_ str>` - `PartialEq<str>` - `PartialOrd<&'_ str>` - `PartialOrd<str>` - `TryFrom<String>` - Added `GHRepo::as_str()` method - **Breaking**: The `GHRepo::is_valid_owner()` and `GHRepo::is_valid_name()` methods are now regular functions - Added `is_valid_repository()` function
1 parent 5866004 commit 6e2cde3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
v0.6.0 (in development)
2-
-----------------------
1+
v0.6.0 (2024-02-16)
2+
-------------------
33
- Remove library installation instructions from README
44
- List all features in the library documentation
55
- Increased MSRV to 1.70

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.6.0-dev"
3+
version = "0.6.0"
44
edition = "2021"
55
rust-version = "1.70"
66
description = "Parse & construct GitHub repository URLs & specifiers"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2022-2023 John Thorvald Wodder II
3+
Copyright (c) 2022-2024 John Thorvald Wodder II
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)