Skip to main content

Crate whos_your_daddy_common

Crate whos_your_daddy_common 

Source
Expand description

Common types and utilities shared across the workspace.

This crate provides:

  • Configuration loading for database connectivity (config).
  • A shared error type for cross-crate error handling (error).
  • An Official structure to represent government officials.

Modulesยง

config
Configuration helpers for establishing database connectivity.
congress_gov
The congress_gov crate contains definitions for interacting with the www.gpo.congress.gov API.
domain
This module contains the definitions that are foundational to all elements of the whos-your-daddy family.
error
Error type definitions for the library.
infrastructure
This module contains the definitions for interacting with technologies outside the boundary of the whos-your-daddy application, such as the internet, databases, and file systems.