Ryan Leckey
e719f698f4
polish: collapse a couple async/blocking groups
2021-01-14 19:01:39 -08:00
Ryan Leckey
6c8d68e9d0
refactor: marker traits for non-blocking <Async> vs <runtime::Blocking>
...
- enforce compile-time errors if you try to block on an async-only runtime
or await a blocking runtime
- remove viral HRTB for Streams
- support UNIX streams
2021-01-10 19:23:04 -08:00
Ryan Leckey
769e8aa461
refactor: introduce io::Stream (blocking::io::Stream) to encapsulate needed IO methods
...
- rename sqlx::AsyncRuntime to sqlx::Async
- don't set default runtime in traits
2021-01-10 10:45:29 -08:00
Ryan Leckey
d2b31950cf
refactor: split <Connection> into <Connect>, <Close>, <Acquire>, and <Connection>
2021-01-09 16:37:36 -08:00