2 releases

Uses old Rust 2015

0.1.5 Mar 20, 2017
0.1.4 Mar 20, 2017

#22 in #send-request

41 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