3 stable releases

2.3.0 Jul 19, 2023
2.2.0 Apr 29, 2022
1.0.0 Jul 5, 2021

#351 in Configuration

Download history 2/week @ 2023-12-13 1/week @ 2024-01-10 2/week @ 2024-01-31 8/week @ 2024-02-07 15/week @ 2024-02-14 31/week @ 2024-02-21 36/week @ 2024-02-28 11/week @ 2024-03-06 18/week @ 2024-03-13 29/week @ 2024-03-20 20/week @ 2024-03-27

80 downloads per month
Used in 5 crates (4 directly)

GPL-3.0-or-later

185KB
5.5K SLoC

GIRT Config Crate

This crate is part of the larger Git Interactive Rebase Tool. The version is pinned to the root project, and this crate does not follow SemVer.


lib.rs:

Git Interactive Rebase Tool - Configuration Module

Description

This module is used to handle the loading of configuration from the Git config system.

use config::Config;
use git::Repository;
let config = Config::try_from(&Repository::open_from_env().unwrap());

Test Utilities

To facilitate testing the usages of this crate, a set of testing utilities are provided. Since these utilities are not tested, and often are optimized for developer experience than performance should only be used in test code.

Dependencies

~14–26MB
~438K SLoC