no-std oauth-credentials

Types for representing the credential pairs of OAuth 1.0

6 releases

Uses old Rust 2015

0.3.0 Jan 11, 2021
0.2.1 Nov 19, 2020
0.1.2 Nov 10, 2020
0.1.0 Oct 18, 2020

#567 in Authentication

Download history 1041/week @ 2024-07-23 1309/week @ 2024-07-30 1302/week @ 2024-08-06 1337/week @ 2024-08-13 772/week @ 2024-08-20 1275/week @ 2024-08-27 1348/week @ 2024-09-03 902/week @ 2024-09-10 1240/week @ 2024-09-17 1546/week @ 2024-09-24 959/week @ 2024-10-01 1370/week @ 2024-10-08 1051/week @ 2024-10-15 1573/week @ 2024-10-22 1950/week @ 2024-10-29 1730/week @ 2024-11-05

6,590 downloads per month
Used in 18 crates (4 directly)

MIT/Apache

24KB
263 lines

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 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.

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 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.

Dependencies

~160KB