1#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
8#![cfg_attr(docsrs, feature(doc_cfg))]
9#![warn(missing_docs, clippy::unwrap_used)]
10#![doc(
11 html_logo_url = "https://raw.githubusercontent.com/orhun/git-cliff/main/website/static/img/git-cliff.png",
12 html_favicon_url = "https://raw.githubusercontent.com/orhun/git-cliff/main/website/static/favicon/favicon.ico"
13)]
14
15pub mod changelog;
17pub mod command;
19pub mod commit;
21pub mod config;
23pub mod contributor;
25pub mod embed;
27pub mod error;
29pub mod markdown;
31pub mod process;
33pub mod release;
35#[cfg(feature = "remote")]
37#[allow(async_fn_in_trait)]
38pub mod remote;
39#[cfg(feature = "repo")]
41pub mod repo;
42pub mod statistics;
44pub mod summary;
46pub mod tag;
48pub mod template;
50
51pub const DEFAULT_CONFIG: &str = "cliff.toml";
56pub const CONFIG_FILES: &[&str] = &["cliff.toml", ".cliff.toml", ".config/cliff.toml"];
61pub const DEFAULT_OUTPUT: &str = "CHANGELOG.md";
63pub const IGNORE_FILE: &str = ".cliffignore";
65
66#[doc(hidden)]
69#[macro_export]
70macro_rules! set_progress_message {
71 ($($arg:tt)*) => {{
72 #[cfg(feature = "tracing-indicatif")]
73 {
74 use tracing::Span;
75 use tracing_indicatif::span_ext::IndicatifSpanExt;
76 let msg = format!($($arg)*);
77 Span::current().pb_set_message(&msg);
78 }
79 }};
80}