theduke / crates-io-api

API client for crates.io, the Rust crate registry.
Apache License 2.0
72 stars 26 forks source link

add max_stable_version for crate responses #55

Closed beckend closed 2 years ago

beckend commented 2 years ago

This is useful when creating outdated checks.

beckend commented 2 years ago

I have no idea what the tests are that are failing, some help would be appreciated.

theduke commented 2 years ago

Thanks, and sorry for the delay!

I included your commit in #56 .

The error was due to max_stable_version being an optional field. I also improved the error reporting for JSON decode errors in above PR, so debugging this stuff should be easier in the future.

theduke commented 2 years ago

Included in #56 .

beckend commented 2 years ago

Thanks!