6 Commits

Author SHA1 Message Date
Josh Kuhn
9ded1062d1
Add synchronous client feature (#8) 2020-12-17 22:39:52 -08:00
Josh Kuhn
d416fb4d20 Fix finish reason breaking 2020-12-12 22:43:26 -08:00
Josh Kuhn
94d633e6f2
Make this a better library (#7)
Some additions to make this more useful as a library
- Move testing only dependencies into dev-dependencies
- The library itself now uses surf instead of reqwest, which is more flexible over runtimes
- Add some crate features to allow configuring which backend to use
- Add logging for requests and responses
2020-12-09 13:52:14 -08:00
Josh Kuhn
62193135c7
Cleanups before publishing (#2)
Several cleanups:
- Flesh out the README
- Make the interface a little easier to use
- Add some examples
- Add some (sparse) documentation for public components
- Mark the `FinishReason` and `Engine` enums as non-exhaustive so new members can be added in the future without breaking backwards compatibility
2020-12-05 16:43:15 -08:00
Josh Kuhn
06cde8ae68
Create rust CI (#1)
Sets up CI in github actions
Had to format some code to get it to pass
2020-12-05 12:06:48 -08:00
Josh Kuhn
d18d72b646 Basic functionality implemented 2020-12-05 11:45:56 -08:00