pub struct Config {Show 14 fields
pub maybe_project_url: Option<Url>,
pub change_template: String,
pub wrap: u16,
pub heading: String,
pub bullet_style: BulletStyle,
pub empty_msg: String,
pub prologue_filename: String,
pub epilogue_filename: String,
pub sort_releases_by: ReleaseSortingConfig,
pub release_date_formats: ReleaseDateFormats,
pub unreleased: UnreleasedConfig,
pub change_sets: ChangeSetsConfig,
pub change_set_sections: ChangeSetSectionsConfig,
pub components: ComponentsConfig,
}
Expand description
Configuration options relating to the generation of a changelog.
Fields§
§maybe_project_url: Option<Url>
The URL of the project. This helps facilitate automatic content generation when supplying an issue or PR number.
change_template: String
The path to a file containing the change template to use when
automatically adding new changelog entries. Relative to the .changelog
folder.
wrap: u16
Wrap entries automatically to a specific number of characters per line.
heading: String
The heading to use at the beginning of the changelog we generate.
bullet_style: BulletStyle
What style of bullet should we use when generating changelog entries?
empty_msg: String
The message to use when the changelog is empty.
prologue_filename: String
The filename (relative to the .changelog
folder) of the file
containing content to be inserted at the beginning of the generated
changelog.
epilogue_filename: String
The filename (relative to the .changelog
folder) of the file
containing content to be appended to the end of the generated
changelog.
sort_releases_by: ReleaseSortingConfig
Sort releases by the given properties.
release_date_formats: ReleaseDateFormats
An ordered list of possible formats to expect when parsing release summaries to establish release dates.
unreleased: UnreleasedConfig
Configuration relating to unreleased changelog entries.
change_sets: ChangeSetsConfig
Configuration relating to sets of changes.
change_set_sections: ChangeSetSectionsConfig
Configuration relating to change set sections.
components: ComponentsConfig
Configuration relating to components/submodules.