biomunky / newsapi

An API for interacting with the News API
MIT License
7 stars 2 forks source link

Function name cleanups, light refactors, doc and version updates #28

Closed lotia closed 3 years ago

lotia commented 3 years ago

What?

5ad7160 Update docs and bump version number

bc19ce9 Downgrade tokio to 0.2.x

Reqwests 10.x and tokio 0.3.x do not get on at present. The async examples break as a result of this not getting on. So tokio needs to be downgraded to 0.2.x :(.

332b9b6 editorconfig cleanup

Remove extraneous whitespace

1cd4927 update crates

a63c0e6 Run cargo fmt

8b966c8 Update dependencies and remove patch versions

39998df Explicitly name async and sync functions

Why?

Thanks to a very kind PR from @leodutra, this crate now has async functionality. These changes make the sync and async bits explicit.

How to review?

Who can review?

@biomunky because he is the custodian of this library.