1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! Overcast is a crate for defining strongly typed changelogs that are designed to make it simple to
//! [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
//!
//! # Example
//!
//! A more complete example is available in `get_overcast_changelog.rs`, the structure used to render
//! `CHANGELOG.md`
//!
//! ```rust
//! # use overcast::{Changelog, render_markdown, Release};
//! let changelog = Changelog::new("My Changelog")
//! .with_description("A changelog for amazing things")
//! .add_release(Release::new(0, 1, 0)
//! .with_date(1970, 1, 1)
//! .added("New feature")
//! .fixed("All the bugs")
//! );
//!
//! let markdown = render_markdown(&changelog).unwrap();
//!
//! assert_eq!(
//! markdown,
//! "# My Changelog
//!
//! A changelog for amazing things
//!
//! ### 0.1.0 - 1970-01-01
//!
//! #### Added
//! - New feature
//!
//!
//! #### Fixed
//! - All the bugs
//!
//!"
//! )
//! ```
//!
//! # Features
//!
//! - **dates** Support for adding dates to changelog entries
//! - **render_markdown** render changelogs as JSON
//! - **render_json** render changelogs to JSON format
//! - **drizzle_changelog** include Drizzle's changelog. Mainly to enable testing and examples
pub use Change;
pub use Changelog;
pub use Release;
pub use *;
pub use get_overcast_changelog;