I hacked this together in two hours this afternoon and thought it might be useful to others.
It's a simple (sync, non-realtime) client library to query the HN API. Will save you some manual endpoint JSON parsing, since it maps all responses to Rust structs.