2 releases

Uses old Rust 2015

0.1.5 Mar 20, 2017
0.1.4 Mar 20, 2017

#21 in #send-request

Download history 3/week @ 2024-02-16 18/week @ 2024-02-23 13/week @ 2024-03-01 6/week @ 2024-03-08 3/week @ 2024-03-15 3/week @ 2024-03-22 40/week @ 2024-03-29 15/week @ 2024-04-05

58 downloads per month
Used in 2 crates

MIT/Apache

14KB
286 lines

oauth-client-fix

Fixed OAuth client for Rust

Documentation

How to use?

Add this to your Cargo.toml:

[dependencies]
oauth-client-fix = "0.1"

and this to your crate root:

extern crate oauth_client_fix;

lib.rs:

OAuth 1.0 client library for Rust.

Dependent on libcurl.

Repository

Examples

Send request for request token.

const REQUEST_TOKEN: &'static str = "http://oauthbin.com/v1/request-token";
let consumer = oauth_client::Token::new("key", "secret");
let bytes = oauth_client::get(REQUEST_TOKEN, &consumer, None, None).unwrap();

Dependencies

~21MB
~412K SLoC