Skip to main content

Crate tga_core

Crate tga_core 

Source
Expand description

§tga-core

Shared types, configuration, database schema, and error definitions for trusty-git-analytics. This crate is the foundation that all other crates in the workspace (tga-collect, tga-classify, tga-report, tga-cli) depend on.

§Modules

  • config — YAML configuration loading and types
  • db — SQLite database wrapper with WAL mode and versioned migrations
  • errors — crate-wide error enum and Result alias
  • models — domain structs for commits, authors, classifications, etc.

Re-exports§

pub use errors::Result;
pub use errors::TgaError;

Modules§

config
Configuration types deserialized from YAML.
db
SQLite database access layer.
errors
Error types for the tga-core crate.
models
Domain models corresponding to the v1 database schema.