Skip to content

Commit

Permalink
v0.6.0 — Treating GHRepo instances as strings
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
jwodder committed Feb 16, 2024
1 parent 5866004 commit 6e2cde3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
v0.6.0 (in development)
-----------------------
v0.6.0 (2024-02-16)
-------------------
- Remove library installation instructions from README
- List all features in the library documentation
- Increased MSRV to 1.70
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ghrepo"
version = "0.6.0-dev"
version = "0.6.0"
edition = "2021"
rust-version = "1.70"
description = "Parse & construct GitHub repository URLs & specifiers"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

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

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

0 comments on commit 6e2cde3

Please sign in to comment.