3 stable releases

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

#473 in Configuration


Used in 4 crates

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

~12–22MB
~382K SLoC