Skip to content

Files

Latest commit

 

History

History

oauth-credentials

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

oauth-credentials

crates.io docs.rs Rust 1.0.0+

oauth-credentials crate defines Rust types related to the "credentials" pair (RFC 5849 section 1.1) of the OAuth 1.0 protocol.

Stability

The goal of oauth-credentials is to provide a stable and interoperable foundation for OAuth implementations.

However, the crate is still unstable in the sense of Semantic Versioning. But 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.

MSRV

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 (See Serde's rust-version)
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 dependency of another crate if the feature is disabled.