oauthcli

crates.io

Yet Another OAuth 1.0 Client Library for Rust

Features

How to Use

```rust extern crate oauthcli; extern crate url;

let header = oauthcli::OAuthAuthorizationHeaderBuilder::new( "POST", url::Url::parse("https://example").unwrap(), "Consumer Key", "Consumer Secret", oauthcli::SignatureMethod::HmacSha1 // or Plaintext ) .token("OAuth Token", "OAuth Token Secret") .requestparameters(vec![("status", "hello")].intoiter()) .finish();

asserteq!(header.tostring(), "OAuth ......") ```

Help me

oauthcli has already reached v1.0.0 although ring is not stable. What shoud I do for not breaking the compatibility?