Skip to content

Commit 98913f7

Browse files
committed
Tweak
1 parent 9e75e7a commit 98913f7

File tree

36 files changed

+119
-102
lines changed

36 files changed

+119
-102
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ oauth2-core
1515

1616
oauth2-client
1717

18+
oauth2-signin
19+
1820
providers/oauth2-doorkeeper
1921
providers/*
20-
21-
oauth2-signin

examples/client/client_credentials_flow/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ name = "client_credentials_flow_apple_search_ads_api"
1212
path = "src/apple_search_ads_api.rs"
1313

1414
[dependencies]
15-
oauth2-client = { version = "0.1", path = "../../../oauth2-client", features = ["with-flow"] }
15+
oauth2-client = { path = "../../../oauth2-client", features = ["with-flow"] }
1616

17-
oauth2-mastodon = { version = "0.1", path = "../../../providers/oauth2-mastodon" }
18-
oauth2-apple = { version = "0.1", path = "../../../providers/oauth2-apple" }
17+
oauth2-mastodon = { path = "../../../providers/oauth2-mastodon" }
18+
oauth2-apple = { path = "../../../providers/oauth2-apple" }
1919

2020
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
2121
http-api-isahc-client = { version = "0.2", features = ["with-sleep-via-tokio"] }

examples/client/desktop_app_flow/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ name = "desktop_app_flow_google"
1212
path = "src/google.rs"
1313

1414
[dependencies]
15-
oauth2-client = { version = "0.1", path = "../../../oauth2-client", features = ["with-flow"] }
15+
oauth2-client = { path = "../../../oauth2-client", features = ["with-flow"] }
1616

17-
oauth2-mastodon = { version = "0.1", path = "../../../providers/oauth2-mastodon" }
18-
oauth2-google = { version = "0.1", path = "../../../providers/oauth2-google" }
17+
oauth2-mastodon = { path = "../../../providers/oauth2-mastodon" }
18+
oauth2-google = { path = "../../../providers/oauth2-google" }
1919

2020
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
2121
http-api-isahc-client = { version = "0.2", features = ["with-sleep-via-tokio"] }

examples/client/device_flow/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ name = "device_flow_baidu"
2828
path = "src/baidu.rs"
2929

3030
[dependencies]
31-
oauth2-client = { version = "0.1", path = "../../../oauth2-client", features = ["with-flow"] }
32-
33-
oauth2-github = { version = "0.1", path = "../../../providers/oauth2-github" }
34-
oauth2-google = { version = "0.1", path = "../../../providers/oauth2-google" }
35-
oauth2-facebook = { version = "0.1", path = "../../../providers/oauth2-facebook" }
36-
oauth2-amazon = { version = "0.1", path = "../../../providers/oauth2-amazon" }
37-
oauth2-microsoft = { version = "0.1", path = "../../../providers/oauth2-microsoft" }
38-
oauth2-baidu = { version = "0.1", path = "../../../providers/oauth2-baidu" }
31+
oauth2-client = { path = "../../../oauth2-client", features = ["with-flow"] }
32+
33+
oauth2-github = { path = "../../../providers/oauth2-github" }
34+
oauth2-google = { path = "../../../providers/oauth2-google" }
35+
oauth2-facebook = { path = "../../../providers/oauth2-facebook" }
36+
oauth2-amazon = { path = "../../../providers/oauth2-amazon" }
37+
oauth2-microsoft = { path = "../../../providers/oauth2-microsoft" }
38+
oauth2-baidu = { path = "../../../providers/oauth2-baidu" }
3939

4040
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
4141
http-api-isahc-client = { version = "0.2", features = ["with-sleep-via-tokio"] }

examples/client/jwt_flow/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ name = "jwt_flow_google_service_account"
88
path = "src/google_service_account.rs"
99

1010
[dependencies]
11-
oauth2-client = { version = "0.1", path = "../../../oauth2-client", features = ["with-flow"] }
11+
oauth2-client = { path = "../../../oauth2-client", features = ["with-flow"] }
1212

13-
oauth2-google = { version = "0.1", path = "../../../providers/oauth2-google" }
13+
oauth2-google = { path = "../../../providers/oauth2-google" }
1414
google-service-account-oauth-jwt-assertion = { version = "0.1", features = ["google-service-account-json-key"] }
1515

1616
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }

examples/client/password_credentials_flow/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ name = "password_credentials_flow_mastodon_social"
88
path = "src/mastodon_social.rs"
99

1010
[dependencies]
11-
oauth2-client = { version = "0.1", path = "../../../oauth2-client", features = ["with-flow"] }
11+
oauth2-client = { path = "../../../oauth2-client", features = ["with-flow"] }
1212

13-
oauth2-mastodon = { version = "0.1", path = "../../../providers/oauth2-mastodon" }
13+
oauth2-mastodon = { path = "../../../providers/oauth2-mastodon" }
1414

1515
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
1616
http-api-isahc-client = { version = "0.2", features = ["with-sleep-via-tokio"] }

examples/client/web_app_flow/Cargo.toml

+23-23
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,31 @@ name = "web_app_flow_warp"
1212
path = "src/warp.rs"
1313

1414
[dependencies]
15-
oauth2-signin = { version = "0.1", path = "../../../oauth2-signin" }
15+
oauth2-signin = { path = "../../../oauth2-signin" }
1616
http-api-isahc-client = { version = "0.2" }
1717

18-
oauth2-github = { version = "0.1", path = "../../../providers/oauth2-github" }
19-
oauth2-google = { version = "0.1", path = "../../../providers/oauth2-google" }
20-
oauth2-twitch = { version = "0.1", path = "../../../providers/oauth2-twitch" }
21-
oauth2-mastodon = { version = "0.1", path = "../../../providers/oauth2-mastodon" }
22-
oauth2-apple = { version = "0.1", path = "../../../providers/oauth2-apple" }
23-
oauth2-instagram = { version = "0.1", path = "../../../providers/oauth2-instagram" }
24-
oauth2-facebook = { version = "0.1", path = "../../../providers/oauth2-facebook" }
25-
oauth2-amazon = { version = "0.1", path = "../../../providers/oauth2-amazon" }
26-
oauth2-gitlab = { version = "0.1", path = "../../../providers/oauth2-gitlab" }
27-
oauth2-bitbucket = { version = "0.1", path = "../../../providers/oauth2-bitbucket" }
28-
oauth2-digitalocean = { version = "0.1", path = "../../../providers/oauth2-digitalocean" }
29-
oauth2-dropbox = { version = "0.1", path = "../../../providers/oauth2-dropbox" }
30-
oauth2-linkedin = { version = "0.1", path = "../../../providers/oauth2-linkedin" }
31-
oauth2-microsoft = { version = "0.1", path = "../../../providers/oauth2-microsoft" }
32-
oauth2-yahoo = { version = "0.1", path = "../../../providers/oauth2-yahoo" }
33-
oauth2-okta = { version = "0.1", path = "../../../providers/oauth2-okta" }
34-
oauth2-pinterest = { version = "0.1", path = "../../../providers/oauth2-pinterest" }
35-
oauth2-baidu = { version = "0.1", path = "../../../providers/oauth2-baidu" }
36-
oauth2-twitter = { version = "0.1", path = "../../../providers/oauth2-twitter" }
37-
oauth2-tiktok = { version = "0.1", path = "../../../providers/oauth2-tiktok" }
38-
oauth2-zoho = { version = "0.1", path = "../../../providers/oauth2-zoho" }
39-
oauth2-linode = { version = "0.1", path = "../../../providers/oauth2-linode" }
18+
oauth2-github = { path = "../../../providers/oauth2-github" }
19+
oauth2-google = { path = "../../../providers/oauth2-google" }
20+
oauth2-twitch = { path = "../../../providers/oauth2-twitch" }
21+
oauth2-mastodon = { path = "../../../providers/oauth2-mastodon" }
22+
oauth2-apple = { path = "../../../providers/oauth2-apple" }
23+
oauth2-instagram = { path = "../../../providers/oauth2-instagram" }
24+
oauth2-facebook = { path = "../../../providers/oauth2-facebook" }
25+
oauth2-amazon = { path = "../../../providers/oauth2-amazon" }
26+
oauth2-gitlab = { path = "../../../providers/oauth2-gitlab" }
27+
oauth2-bitbucket = { path = "../../../providers/oauth2-bitbucket" }
28+
oauth2-digitalocean = { path = "../../../providers/oauth2-digitalocean" }
29+
oauth2-dropbox = { path = "../../../providers/oauth2-dropbox" }
30+
oauth2-linkedin = { path = "../../../providers/oauth2-linkedin" }
31+
oauth2-microsoft = { path = "../../../providers/oauth2-microsoft" }
32+
oauth2-yahoo = { path = "../../../providers/oauth2-yahoo" }
33+
oauth2-okta = { path = "../../../providers/oauth2-okta" }
34+
oauth2-pinterest = { path = "../../../providers/oauth2-pinterest" }
35+
oauth2-baidu = { path = "../../../providers/oauth2-baidu" }
36+
oauth2-twitter = { path = "../../../providers/oauth2-twitter" }
37+
oauth2-tiktok = { path = "../../../providers/oauth2-tiktok" }
38+
oauth2-zoho = { path = "../../../providers/oauth2-zoho" }
39+
oauth2-linode = { path = "../../../providers/oauth2-linode" }
4040

4141
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
4242
futures-util = { version = "0.3" }

oauth2-cli/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ default = ["with-github"]
2323
with-github = ["oauth2-github"]
2424

2525
[dependencies]
26-
oauth2-client = { version = "0.1", path = "../oauth2-client" }
26+
oauth2-client = { version = "0.2", path = "../oauth2-client" }
2727

28-
oauth2-github = { version = "0.1", path = "../providers/oauth2-github", optional = true }
28+
oauth2-github = { version = "0.2", path = "../providers/oauth2-github", optional = true }
2929

3030
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
3131
http-api-isahc-client = { version = "0.2", features = ["with-sleep-via-tokio"] }

oauth2-client/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-client"
3-
version = "0.1.3"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Client"
@@ -21,7 +21,7 @@ default = ["with-flow"]
2121
with-flow = ["http-api-client"]
2222

2323
[dependencies]
24-
oauth2-core = { version = "0.1", path = "../oauth2-core" }
24+
oauth2-core = { version = "0.2", path = "../oauth2-core" }
2525

2626
http-api-client-endpoint = { version = "0.2", default-features = false }
2727
http-api-client = { version = "0.2", default-features = false, optional = true }

oauth2-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-core"
3-
version = "0.1.3"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Core"

oauth2-signin/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-signin"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Signin"
@@ -13,13 +13,13 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../oauth2-client", default-features = false, features = [
16+
oauth2-client = { version = "0.2", path = "../oauth2-client", default-features = false, features = [
1717
"with-flow",
1818
] }
1919

2020
[dev-dependencies]
21-
oauth2-github = { version = "0.1", path = "../providers/oauth2-github" }
22-
oauth2-google = { version = "0.1", path = "../providers/oauth2-google" }
21+
oauth2-github = { path = "../providers/oauth2-github" }
22+
oauth2-google = { path = "../providers/oauth2-google" }
2323

2424
http-api-isahc-client = { version = "0.2", default-features = false }
2525

providers/cargo_publish.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
<<'EG'
4+
./cargo_publish.sh
5+
EG
6+
7+
set -ex
8+
9+
script_path=$(cd $(dirname $0) ; pwd -P)
10+
script_path_root="${script_path}/"
11+
12+
cd ${script_path_root}oauth2-doorkeeper
13+
cargo publish -v
14+
sleep 2
15+
16+
find ${script_path_root}* -maxdepth 1 -prune -type d ! -name "oauth2-doorkeeper" -print0 | xargs -0 -I '{}' sh -c \
17+
"cd ${script_path_root}oauth2-doorkeeper{}; cargo publish -v; sleep 2"

providers/oauth2-amazon/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-amazon"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Amazon"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

providers/oauth2-apple/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-apple"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Apple"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

providers/oauth2-baidu/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-baidu"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Baidu"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

providers/oauth2-bitbucket/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-bitbucket"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Bitbucket"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

providers/oauth2-digitalocean/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-digitalocean"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 DigitalOcean"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

providers/oauth2-doorkeeper/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-doorkeeper"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Doorkeeper"
@@ -13,4 +13,4 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }

providers/oauth2-dropbox/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-dropbox"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Dropbox"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

providers/oauth2-facebook/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-facebook"
3-
version = "0.1.3"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Facebook"
@@ -13,6 +13,6 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }
1818
serde-aux = { version = "4", default-features = false }

providers/oauth2-github/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-github"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 GitHub"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

providers/oauth2-gitlab/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-gitlab"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 GitLab"
@@ -13,6 +13,6 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }
18-
oauth2-doorkeeper = { version = "0.1", path = "../oauth2-doorkeeper", default-features = false }
18+
oauth2-doorkeeper = { version = "0.2", path = "../oauth2-doorkeeper", default-features = false }

providers/oauth2-google/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oauth2-google"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["vkill <[email protected]>"]
55
edition = "2021"
66
description = "OAuth 2.0 Google"
@@ -13,5 +13,5 @@ categories = []
1313
readme = "README.md"
1414

1515
[dependencies]
16-
oauth2-client = { version = "0.1", path = "../../oauth2-client", default-features = false }
16+
oauth2-client = { version = "0.2", path = "../../oauth2-client", default-features = false }
1717
serde = { version = "1", default-features = false }

0 commit comments

Comments
 (0)