congressdotgov_rs/
lib.rs

1//! Rust bindings to the congress.gov REST API.
2//!
3//! # High-level features
4//!
5//! - REST API bindings are divided between Endpoint, Client, and Query traits
6//! - Auth and state are managed by the Cdg struct
7//! - Optional Endpoint parameters are added to a query via a Builder API
8//! - Responses are returned as a serde_json::Value
9//!
10//! This crate only provides an async implementation.
11
12pub mod api;
13mod auth;
14mod cdg;
15
16#[cfg(test)]
17mod test;
18
19pub use crate::auth::Auth;
20pub use crate::cdg::{Cdg, CdgError};