stripe-rust

stripe-rust on Travis CI stripe-rust on crates.io stripe-rust on docs.rs

Rust API bindings for the Stripe v1 HTTP API

Usage

Put this in your Cargo.toml:

toml [dependencies] stripe-rust = "0.3.1"

And this in your crate root:

rust extern crate stripe;

HTTPS Options

This crate uses native-tls and hyper-native-tls by default to communicate with the Stripe API over HTTPS.

Native TLS

Put this in your Cargo.toml to explicitly prefer native-tls if the default changes:

toml [dependencies.stripe-rust] version = "0.3.1" features = ["with-native-tls"] default_features = false

OpenSSL

Put this in your Cargo.toml to use openssl and hyper-openssl instead of the default:

toml [dependencies.stripe-rust] version = "0.3.1" features = ["with-openssl"] default_features = false