obmarg / graphql-ws-client

A GraphQL over Websockets implementation for Rust
Apache License 2.0
39 stars 15 forks source link

feat!: Connection functions now return impl Future #108

Closed obmarg closed 5 months ago

obmarg commented 5 months ago

Now that the MSRV is > 1.75 we can start making use of return position impl trait.

We need to specify send bounds on the returned futures so we return an impl Trait, but it seems like rust is smart enough to allow us to use an actual async function in the implementations.