capitol 0.5.1

Parse United States Congress legislative document citations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![warn(missing_docs)]
//! Parse citations of United States Congress legislative documents and convert them to
//! Congress.gov Govinfo URLs.
//!
//! Calling `parse` on a string like `"118hr815"`, or calling `Citation::parse("118hr815")`
//! returns a struct representing the document's citation. Calling `to_url` on such a struct
//! returns `"https://www.congress.gov/bill/118th-congress/house-bill/815"`

mod citation;
mod constants;
mod error;
mod legislation;
mod parser;
mod utils;

pub use crate::citation::Citation;