Crates.io | oauth-credentials |
lib.rs | oauth-credentials |
version | 0.3.0 |
source | src |
created_at | 2020-10-18 07:30:16.785327 |
updated_at | 2021-01-11 17:29:33.307384 |
description | Types for representing the credential pairs of OAuth 1.0. |
homepage | |
repository | https://github.com/tesaguri/oauth1-request-rs |
max_upload_size | |
id | 301909 |
size | 23,495 |
oauth-credentials
crate defines Rust types related to the "credentials" pair
(RFC 5849 section 1.1) of the OAuth 1.0 protocol.
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 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.
While you should not use it as a public dependency of a stable crate yet (see C-STABLE of Rust API Guidelines), it is ready as a public dependency of an unstable crate and as a private dependency of a stable crate.
The minimum supported Rust version of oauth-credentials
is Rust 1.0.0.
Some Cargo features require newer Rust toolchain as shown below.
Feature | MSRV |
---|---|
(none) | 1.6.0 |
std
(default) | 1.0.0
serde
| 1.13.0
alloc
(without std
) | 1.36.0
Note that if your crate uses the serde
feature (even if optionally!), it cannot be compiled
directly with Rust 1.7.x and older due to rust-lang/cargo#3763, but it can somehow be compiled as
a non-root node of a dependency tree.