Skip to content

Commit

Permalink
Bump to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tesaguri committed Jan 11, 2021
1 parent 4a397b0 commit 35f00a8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
oauth = { version = "0.4", package = "oauth1-request" }
oauth = { version = "0.5", package = "oauth1-request" }
```

A typical authorization flow looks like this:
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ http-body = "0.4"
hyper = { version = "0.14", features = ["client", "http1", "runtime", "server", "stream"] }
log = "0.4"
nom = "6"
oauth = { version = "0.4", package = "oauth1-request" }
oauth = { version = "0.5", package = "oauth1-request" }
oauth-credentials = { version = "0.3", features = ["serde"] }
percent-encoding = "2"
pin-project = "1"
Expand Down
2 changes: 1 addition & 1 deletion oauth1-request-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ syn = { version = "1", features = ["full"] }

[dev-dependencies]
compiletest_rs = "0.5"
oauth1-request = "0.4"
oauth1-request = "0.5"
version-sync = "0.9"
6 changes: 3 additions & 3 deletions oauth1-request-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//! This crate provides a derive macro for [`oauth1_request::Request`][Request]:
//!
//! [Request]: https://docs.rs/oauth1-request/0.4/oauth1_request/trait.Request.html
//! [Request]: https://docs.rs/oauth1-request/0.5/oauth1_request/trait.Request.html
//!
//! ```
//! # extern crate oauth1_request as oauth;
Expand Down Expand Up @@ -37,11 +37,11 @@ use method_body::MethodBody;

/// A derive macro for [`oauth1_request::Request`][Request] trait.
///
/// [Request]: https://docs.rs/oauth1-request/0.4/oauth1_request/trait.Request.html
/// [Request]: https://docs.rs/oauth1-request/0.5/oauth1_request/trait.Request.html
///
/// See the [documentation] on the `oauth1_request` crate.
///
/// [documentation]: https://docs.rs/oauth1-request/0.4/oauth1_request/derive.Request.html
/// [documentation]: https://docs.rs/oauth1-request/0.5/oauth1_request/derive.Request.html
#[proc_macro_error]
#[proc_macro_derive(Request, attributes(oauth1))]
pub fn derive_oauth1_authorize(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
Expand Down
2 changes: 1 addition & 1 deletion oauth1-request-derive/test-deps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false
[workspace]

[dependencies]
oauth1-request = { version = "0.4", default-features = false, features = ["derive"] }
oauth1-request = { version = "0.5", default-features = false, features = ["derive"] }

[patch.crates-io]
oauth-credentials = { path = "../../oauth-credentials" }
Expand Down
6 changes: 3 additions & 3 deletions oauth1-request/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oauth1-request"
version = "0.4.3"
version = "0.5.0"
edition = "2018"
authors = ["Daiki Mizukami <tesaguriguma@gmail.com>"]
license = "MIT OR Apache-2.0"
Expand All @@ -9,7 +9,7 @@ keywords = ["oauth", "oauth1"]
categories = ["authentication"]
homepage = "https://github.com/tesaguri/oauth1-request-rs"
repository = "https://github.com/tesaguri/oauth1-request-rs"
documentation = "https://docs.rs/oauth1-request/0.4.3/oauth1_request/"
documentation = "https://docs.rs/oauth1-request/0.5.0/oauth1_request/"
description = """
Yet yet yet another OAuth 1 client library.
"""
Expand All @@ -32,7 +32,7 @@ sha-1 = { version = "0.9", optional = true }

[dev-dependencies]
# Trick to make `proc-macro-crate` work in doctests.
oauth1-request = { version = "0.4", path = "", default-features = false }
oauth1-request = { version = "0.5", path = "", default-features = false }
version-sync = "0.9"

[features]
Expand Down
4 changes: 2 additions & 2 deletions oauth1-request/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//!
//! ```toml
//! [dependencies]
//! oauth = { version = "0.4", package = "oauth1-request" }
//! oauth = { version = "0.5", package = "oauth1-request" }
//! ```
//!
//! For brevity, we refer to the crate name as `oauth` throughout the documentation,
Expand Down Expand Up @@ -88,7 +88,7 @@
//!
//! See [`Request`][oauth1_request_derive::Request] for more details on the derive macro.
#![doc(html_root_url = "https://docs.rs/oauth1-request/0.4.3")]
#![doc(html_root_url = "https://docs.rs/oauth1-request/0.5.0")]
#![deny(broken_intra_doc_links)]
#![warn(missing_docs, rust_2018_idioms)]

Expand Down

0 comments on commit 35f00a8

Please sign in to comment.