Rust API bindings for the Stripe v1 HTTP API
Put this in your Cargo.toml
:
toml
[dependencies]
stripe-rust = "0.3.1"
And this in your crate root:
rust
extern crate stripe;
This crate uses native-tls and hyper-native-tls by default to communicate with the Stripe API over HTTPS.
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
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