From 4a397b066140d46be70f094bafbb975d24359f33 Mon Sep 17 00:00:00 2001 From: Daiki Mizukami Date: Tue, 12 Jan 2021 01:42:39 +0900 Subject: [PATCH] Bump `oauth-credentials` to v0.3.0 --- examples/Cargo.toml | 2 +- oauth-credentials/Cargo.toml | 4 ++-- oauth-credentials/README.md | 5 ++--- oauth-credentials/src/lib.rs | 2 +- oauth1-request/Cargo.toml | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index b9a02ec..5dfefa8 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -32,7 +32,7 @@ hyper = { version = "0.14", features = ["client", "http1", "runtime", "server", log = "0.4" nom = "6" oauth = { version = "0.4", package = "oauth1-request" } -oauth-credentials = { version = "0.2", features = ["serde"] } +oauth-credentials = { version = "0.3", features = ["serde"] } percent-encoding = "2" pin-project = "1" serde = { version = "1", features = ["derive"] } diff --git a/oauth-credentials/Cargo.toml b/oauth-credentials/Cargo.toml index 8517d58..d39ab86 100644 --- a/oauth-credentials/Cargo.toml +++ b/oauth-credentials/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "oauth-credentials" -version = "0.2.1" +version = "0.3.0" authors = ["Daiki Mizukami "] license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["oauth", "oauth1"] categories = ["authentication"] repository = "https://github.com/tesaguri/oauth1-request-rs" -documentation = "https://docs.rs/oauth-credentials/0.2.1/oauth_credentials/" +documentation = "https://docs.rs/oauth-credentials/0.3.0/oauth_credentials/" description = """ Types for representing the credential pairs of OAuth 1.0. """ diff --git a/oauth-credentials/README.md b/oauth-credentials/README.md index 7a617c6..430d547 100644 --- a/oauth-credentials/README.md +++ b/oauth-credentials/README.md @@ -13,10 +13,9 @@ The goal of `oauth-credentials` is to provide a stable foundation for OAuth implementations. -The crate is still unstable in the sense of Semantic Versioning. ~However, we are not planning to +The crate is still unstable in the sense of Semantic Versioning. However, we are not planning to make any breaking change and are going to publish the API as it is as version 1.0.0 using the -[semver trick] unless we find a flaw in the API significant enough to justify a breaking change.~ -Update: Version 0.3 will contain a breaking change. See [#5] for details. +[semver trick] unless we find a flaw in the API significant enough to justify a breaking change. [semver trick]: https://github.com/dtolnay/semver-trick [#5]: https://github.com/tesaguri/oauth1-request-rs/pull/5 diff --git a/oauth-credentials/src/lib.rs b/oauth-credentials/src/lib.rs index 58b7b8b..cc350f0 100644 --- a/oauth-credentials/src/lib.rs +++ b/oauth-credentials/src/lib.rs @@ -3,7 +3,7 @@ //! //! [rfc]: https://tools.ietf.org/html/rfc5849#section-1.1 -#![doc(html_root_url = "https://docs.rs/oauth-credentials/0.2.1")] +#![doc(html_root_url = "https://docs.rs/oauth-credentials/0.3.0")] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))] #![cfg_attr(feature = "cargo-clippy", allow(redundant_static_lifetimes))] diff --git a/oauth1-request/Cargo.toml b/oauth1-request/Cargo.toml index 47fdf24..7c1c180 100644 --- a/oauth1-request/Cargo.toml +++ b/oauth1-request/Cargo.toml @@ -18,7 +18,7 @@ Yet yet yet another OAuth 1 client library. base64 = "0.13" bitflags = "1" cfg-if = "1" -oauth-credentials = "0.2" +oauth-credentials = "0.3" percent-encoding = "2.1" rand = "0.8"