Rename hooked-library to hooked-config.

This commit is contained in:
Bauke 2022-10-31 15:35:10 +01:00
parent 0743a982d1
commit 4f28ced1b1
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
19 changed files with 11 additions and 11 deletions

4
Cargo.lock generated
View File

@ -453,7 +453,7 @@ dependencies = [
"assert_cmd",
"clap",
"color-eyre",
"hooked-library",
"hooked-config",
"insta",
"owo-colors",
"subprocess",
@ -463,7 +463,7 @@ dependencies = [
]
[[package]]
name = "hooked-library"
name = "hooked-config"
version = "0.1.0"
dependencies = [
"color-eyre",

View File

@ -1,5 +1,5 @@
[workspace]
members = [
"hooked-cli",
"hooked-library"
"hooked-config"
]

View File

@ -22,8 +22,8 @@ tera = "1.17.1"
features = ["derive"]
version = "4.0.18"
[dependencies.hooked-library]
path = "../hooked-library"
[dependencies.hooked-config]
path = "../hooked-config"
version = "0.1.0"
[dev-dependencies]

View File

@ -4,7 +4,7 @@ use std::{io::Read, process::exit};
use {
color_eyre::{eyre::eyre, Result},
hooked_library::{Config, ExitAction},
hooked_config::{Config, ExitAction},
owo_colors::{OwoColorize, Style},
subprocess::{Exec, Redirection},
supports_color::Stream,

View File

@ -14,7 +14,7 @@ use std::{
use {
clap::Parser,
color_eyre::{eyre::eyre, install, Result},
hooked_library::Config,
hooked_config::Config,
tera::{Context, Tera},
};

View File

@ -1,6 +1,6 @@
[package]
name = "hooked-library"
description = "Git hooks manager."
name = "hooked-config"
description = "Configuration for Hooked."
repository = "https://git.bauke.xyz/Holllo/hooked"
license = "AGPL-3.0-or-later"
version = "0.1.0"

View File

@ -1,6 +1,6 @@
use std::path::PathBuf;
use {color_eyre::Result, hooked_library::Config};
use {color_eyre::Result, hooked_config::Config};
use {insta::assert_debug_snapshot, test_case::test_case};

View File

@ -1,5 +1,5 @@
use {
hooked_library::{Config, ExitAction, PreCommit, Task},
hooked_config::{Config, ExitAction, PreCommit, Task},
toml::to_string_pretty,
};