git_anger_library/
lib.rs

1//! # git-anger-library
2//! [![pipeline](https://github.com/sondr3/git-anger-management/workflows/pipeline/badge.svg)](https://github.com/sondr3/git-anger-management/actions)
3//! [![Crates.io](https://img.shields.io/crates/v/git-anger-library.svg)](https://crates.io/crates/git-anger-library)
4//! [![Docs.rs](https://docs.rs/git-anger-library/badge.svg)](https://docs.rs/crate/git-anger-library/)
5//!
6//! ## What
7//!
8//! This is the main library that drives the
9//! [`git-anger-management`](https://crates.io/crates/git-anger-management)
10//! CLI-application, this is not really useful for anything besides that... but if
11//! you for some reason want to, feel free!
12//!
13//! ## Features:
14//!
15//! **Note:** None of these features are enabled by default, so you have to opt into
16//! it like so:
17//!
18//! ```toml
19//! [dependencies]
20//! git-anger-library = { version = "0.8.0", features=["table", "json"] }
21//! ```
22//!
23//! - `json`: Enables Serde serialization of the processed data using with the
24//! `print_json()` method.
25//! - `table`: Enables pretty printing of the processed data using TabWriter with
26//! the function `print_table()`.
27//!
28//! ## License
29//!
30//! GPLv3 or later.
31//!
32/// A git author
33pub mod author;
34/// Core algorithms and functionality
35pub mod core;
36/// A simplified representation of a git repository
37pub mod repo;