Skip to content

Commit 60d1bab

Browse files
Merge #89
89: move org r=Emilgardis a=Emilgardis Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>
2 parents c550f6a + 5c9ea0b commit 60d1bab

File tree

8 files changed

+30
-23
lines changed

8 files changed

+30
-23
lines changed

.vscode/settings.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"rust-analyzer.checkOnSave.allTargets": false,
33
"rust-analyzer.checkOnSave.features": ["all"],
44
"rust-analyzer.checkOnSave.enable": true,
5-
"rust-analyzer.cargo.features": ["all", "mock_api"],
6-
"rust-analyzer.experimental.procAttrMacros": true
7-
}
5+
"rust-analyzer.cargo.features": [
6+
"all",
7+
"mock_api"
8+
],
9+
"rust-analyzer.procMacro.attributes.enable": true
10+
}

CHANGELOG.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@
44

55
## [Unreleased] - ReleaseDate
66

7-
[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/v0.7.0...Unreleased)
7+
[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/v0.7.0...Unreleased)
8+
9+
## Changed
10+
11+
* Organization moved to `twitch-rs`
812

913
### Added
1014

1115
* Added scope `channel:manage:raids`
1216

1317
## [v0.7.0] - 2022-05-08
1418

15-
[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/v0.6.1...v0.7.0)
19+
[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/v0.6.1...v0.7.0)
1620

1721
### Breaking changes
1822

@@ -21,7 +25,7 @@
2125

2226
## [v0.6.1] - 2021-11-23
2327

24-
[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/v0.6.0...v0.6.1)
28+
[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/v0.6.0...v0.6.1)
2529

2630
### Added
2731

@@ -31,12 +35,12 @@
3135

3236
## [v0.6.0] - 2021-09-27
3337

34-
[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/v0.5.2...v0.6.0)
38+
[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/v0.5.2...v0.6.0)
3539

3640
### Breaking changes
3741

3842
* All types associated with tokens are now defined in this crate. This is a consequence of the `oauth2` dependency being removed from tree.
39-
Additionally, as another consequence, clients are now able to be specified as a `for<'a> &'a T where T: Client<'a>`, meaning `twitch_api2` can use its clients as an interface to token requests,
43+
Additionally, as another consequence, clients are now able to be specified as a `for<'a> &'a T where T: Client<'a>`, meaning `twitch_api` can use its clients as an interface to token requests,
4044
and clients can persist instead of being rebuilt every call. Care should be taken when making clients, as SSRF and similar attacks are possible with improper client configurations.
4145

4246
### Added
@@ -62,15 +66,15 @@
6266

6367
## [v0.5.2] - 2021-06-18
6468

65-
[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/v0.5.1...v0.5.2)
69+
[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/v0.5.1...v0.5.2)
6670

6771
### Added
6872

6973
* Added new scope `channel:manage:schedule`
7074

7175
## [v0.5.1] - 2021-05-16
7276

73-
[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/v0.5.0...v0.5.1)
77+
[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/v0.5.0...v0.5.1)
7478

7579
### Added
7680

@@ -79,7 +83,7 @@
7983

8084
## [v0.5.0] - 2021-05-08
8185

82-
[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/49a083ceda6768cc52a1f8f1714bb7f942f24c01...v0.5.0)
86+
[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/49a083ceda6768cc52a1f8f1714bb7f942f24c01...v0.5.0)
8387

8488
### Added
8589

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "twitch_oauth2"
33
version = "0.7.0"
44
edition = "2021"
5-
repository = "https://github.com/Emilgardis/twitch_oauth2"
5+
repository = "https://github.com/twitch-rs/twitch_oauth2"
66
license = "MIT OR Apache-2.0"
77
description = "Oauth2 for Twitch endpoints"
88
keywords = ["oauth", "twitch", "async", "asynchronous"]

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
Twitch OAuth2 | OAuth2 for Twitch endpoints
22
============================================
33

4-
[![github]](https://github.com/emilgardis/twitch_oauth2)&ensp;[![crates-io]](https://crates.io/crates/twitch_oauth2)&ensp;[![docs-rs]](https://docs.rs/twitch_oauth2/0.7.0/twitch_oauth2)
4+
[![github]](https://github.com/twitch-rs/twitch_oauth2)&ensp;[![crates-io]](https://crates.io/crates/twitch_oauth2)&ensp;[![docs-rs]](https://docs.rs/twitch_oauth2/0.7.0/twitch_oauth2)
55

6-
[github]: https://img.shields.io/badge/github-emilgardis/twitch__oauth2-8da0cb?style=for-the-badge&labelColor=555555&logo=github"
6+
[github]: https://img.shields.io/badge/github-twitch--rs/twitch__oauth2-8da0cb?style=for-the-badge&labelColor=555555&logo=github"
77
[crates-io]: https://img.shields.io/crates/v/twitch_oauth2.svg?style=for-the-badge&color=fc8d62&logo=rust"
88
[docs-rs]: https://img.shields.io/badge/docs.rs-twitch__oauth2-66c2a5?style=for-the-badge&labelColor=555555&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K"
99

1010
See [documentation](https://docs.rs/twitch_oauth2) for more info.
1111

12-
You can see current unpublished docs here: [![local-docs]](https://emilgardis.github.io/twitch_oauth2/twitch_oauth2)
12+
You can see current unpublished docs here: [![local-docs]](https://twitch-rs.github.io/twitch_oauth2/twitch_oauth2)
1313

1414
See [examples](./examples) for examples.
1515

1616
This is a library to interface with [Twitch Authentication](https://dev.twitch.tv/docs/authentication).
1717

1818

19-
See also <https://github.com/Emilgardis/twitch_api2>
19+
See also <https://github.com/twitch-rs/twitch_api>
2020

2121
<h5> License </h5>
2222

@@ -33,4 +33,4 @@ for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
3333
be dual licensed as above, without any additional terms or conditions.
3434
</sub>
3535

36-
[local-docs]: https://img.shields.io/github/workflow/status/Emilgardis/twitch_oauth2/github%20pages/master?label=docs&style=flat-square&event=push
36+
[local-docs]: https://img.shields.io/github/workflow/status/twitch-rs/twitch_oauth2/github%20pages/master?label=docs&style=flat-square&event=push

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
See [documentation](https://docs.rs/twitch_oauth2) for documentation.
22

3-
You can see current unpublished docs here: [![local-docs]](https://emilgardis.github.io/twitch_api2/twitch_api2)
3+
You can see current unpublished docs here: [![local-docs]](https://twitch-rs.github.io/twitch_oauth2/twitch_oauth2)
44

5-
[local-docs]: https://img.shields.io/github/workflow/status/Emilgardis/twitch_api2/github%20pages/master?label=docs&style=flat-square&event=push
5+
[local-docs]: https://img.shields.io/github/workflow/status/twitch-rs/twitch_oauth2/github%20pages/master?label=docs&style=flat-square&event=push

docs/pre-content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<!-- intentional break -->
2-
<p class="content">This documentation was built on commit <a href="https://github.com/Emilgardis/twitch_oauth2/tree/{{commit}}">{{commit_short}}</a></p>
2+
<p class="content">This documentation was built on commit <a href="https://github.com/twitch-rs/twitch_oauth2/tree/{{commit}}">{{commit_short}}</a></p>

release.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ enable-features = ["all", "unsupported"]
77
pre-release-replacements = [
88
{file="CHANGELOG.md", search="Unreleased", replace="v{{version}}", prerelease=false},
99
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", prerelease=false},
10-
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate\n\n[Commits](https://github.com/Emilgardis/twitch_oauth2/compare/v{{version}}...Unreleased)", prerelease=false},
10+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate\n\n[Commits](https://github.com/twitch-rs/twitch_oauth2/compare/v{{version}}...Unreleased)", prerelease=false},
1111
{file="README.md", search="twitch_oauth2/[a-z0-9\\.-]+/twitch_oauth2", replace="{{crate_name}}/{{version}}/{{crate_name}}", prerelease=true},
1212
{file="src/lib.rs", search="https://docs.rs/twitch_oauth2/[a-z0-9\\.-]+", replace="https://docs.rs/{{crate_name}}/{{version}}", prerelease=true},
1313
{file="Cargo.toml", search="https://docs.rs/twitch_oauth2/[a-z0-9\\.-]+", replace="https://docs.rs/{{crate_name}}/{{version}}", prerelease=true},

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#![cfg_attr(nightly, deny(rustdoc::broken_intra_doc_links))]
44
#![cfg_attr(nightly, feature(doc_cfg))]
55
#![doc(html_root_url = "https://docs.rs/twitch_oauth2/0.7.0")]
6-
//! [![github]](https://github.com/emilgardis/twitch_oauth2)&ensp;[![crates-io]](https://crates.io/crates/twitch_oauth2)&ensp;[![docs-rs]](https://docs.rs/twitch_oauth2/0.7.0/twitch_oauth2)
6+
//! [![github]](https://github.com/twitch-rs/twitch_oauth2)&ensp;[![crates-io]](https://crates.io/crates/twitch_oauth2)&ensp;[![docs-rs]](https://docs.rs/twitch_oauth2/0.7.0/twitch_oauth2)
77
//!
8-
//! [github]: https://img.shields.io/badge/github-emilgardis/twitch__oauth2-8da0cb?style=for-the-badge&labelColor=555555&logo=github"
8+
//! [github]: https://img.shields.io/badge/github-twitch--rs/twitch__oauth2-8da0cb?style=for-the-badge&labelColor=555555&logo=github"
99
//! [crates-io]: https://img.shields.io/crates/v/twitch_oauth2.svg?style=for-the-badge&color=fc8d62&logo=rust"
1010
//! [docs-rs]: https://img.shields.io/badge/docs.rs-twitch__oauth2-66c2a5?style=for-the-badge&labelColor=555555&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K"
1111
//!

0 commit comments

Comments
 (0)