pub struct Config {Show 14 fields
pub branch: Option<String>,
pub since: Option<String>,
pub until: Option<String>,
pub no_merges: bool,
pub title: Option<String>,
pub exclude: Vec<String>,
pub groups: Vec<(String, String)>,
pub identities: Vec<Vec<String>>,
pub use_github: bool,
pub detect_affiliation: bool,
pub merge_names: bool,
pub embed_avatars: bool,
pub avatar_size: u32,
pub verbose: bool,
}Expand description
How to read history and resolve identities. Construct with Config::default()
and override fields as needed.
Fields§
§branch: Option<String>Branch or ref to read (default: HEAD).
since: Option<String>Only include commits after this date (passed to git log --since).
until: Option<String>Only include commits before this date (git log --until).
no_merges: boolSkip merge commits.
title: Option<String>Override the chart/repository title.
exclude: Vec<String>Exclude contributors whose name or login contains any of these strings.
groups: Vec<(String, String)>Manual matcher → group mappings (matcher = name, email, or login).
identities: Vec<Vec<String>>Manual identity merges: each row is [canonical, alias, …].
use_github: boolQuery the GitHub API for logins, avatars, and profiles.
detect_affiliation: boolAuto-detect affiliations from GitHub profile companies.
merge_names: boolMerge identities that share a normalised author name.
embed_avatars: boolDownload avatars and embed them as data URIs.
avatar_size: u32Avatar pixel size to request when embedding.
verbose: boolPrint progress to stderr.