#oauth #oauth1

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

#602 in Authentication

Download history 1111/week @ 2023-10-30 934/week @ 2023-11-06 874/week @ 2023-11-13 1309/week @ 2023-11-20 1987/week @ 2023-11-27 1465/week @ 2023-12-04 1615/week @ 2023-12-11 1227/week @ 2023-12-18 939/week @ 2023-12-25 1393/week @ 2024-01-01 1595/week @ 2024-01-08 1184/week @ 2024-01-15 1279/week @ 2024-01-22 1267/week @ 2024-01-29 613/week @ 2024-02-05 881/week @ 2024-02-12

4,200 downloads per month
Used in 15 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

~180KB