wyyerd / stripe-rs

Rust API bindings for the Stripe HTTP API.
Apache License 2.0
219 stars 88 forks source link

Add a note about actix to the README and the library docs. #197

Closed imalsogreg closed 2 years ago

imalsogreg commented 2 years ago

Closes #153

This MR adds a note about actix, which depends on an old and incompatible version of tokio. The question of how to use stripe and actix together has come up a couple of times in the issue tracker.

Testing done:

arlyon commented 2 years ago

I will mention one of the major features of the async-stripe is the pluggable backends, though I haven't tested with actix explicitly, it should be trivial to add if needed. Merging this.

imalsogreg commented 2 years ago

I saw that pluggable backend thing, seems like the way of the future! (in fact, I was wondering if stripe-rs/async-stripe could somehow be parameterized by the type of client, so that it doesn't need to commit to being blocking vs. async, native-tls vs rustls etc. ... That seems tricky though because of course the async-ness of the Client is going to be reflected in the async-ness of every client function. :thinking: Just some thoughts.