Crate hnews

source · []
Expand description

ci-badge docs-badge crate-version

hnews is a synchronous Rust library for the Hacker News API.

It is extremely lightweight (thanks to ureq and miniserde) but still provides enough basics to get you started processing data.

Re-exports

pub use ask::Ask;
pub use client::Client;
pub use comment::Comment;
pub use error::HError;
pub use job::Job;
pub use poll::Poll;
pub use poll::PollOption;
pub use story::Story;
pub use user::User;

Modules

Ask struct and associated methods.

Static http client for requests.

Comment struct and associated methods.

Error struct representing possible failures.

Job struct and associated methods.

Poll struct and associated methods.

Useful re-exports for this crate.

Story struct and associated methods.

User struct and associated methods.