chore: remove lib related stuff

This commit is contained in:
TECHNOFAB 2024-12-27 16:04:50 +01:00
parent 1a7c22bdbf
commit 5d2e86e6f1
No known key found for this signature in database
GPG key ID: D06FBA11BA6FF836
5 changed files with 1 additions and 13 deletions

0
src/cli.rs Executable file → Normal file
View file

View file

@ -1,6 +0,0 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../README.md")]
pub(crate) mod cli;
pub(crate) mod config;
pub(crate) mod utils;

View file

@ -2,8 +2,6 @@ use self::cli::Cli;
use crate::config::Config;
use crate::utils::attempt_version_bump;
use clap::Parser;
use config::File;
use std::collections::HashMap;
use std::fs;
use std::process::{exit, Command};
use tracing::{error, info, level_filters::LevelFilter, warn};

View file

@ -6,7 +6,7 @@ use std::collections::HashMap;
use std::ops::Index;
use tracing::{error, trace};
pub fn attempt_version_bump(args: Cli, config: Config) -> Option<String> {
pub(crate) fn attempt_version_bump(args: Cli, config: Config) -> Option<String> {
let parse_regex = config.parse;
let regex = match Regex::new(&parse_regex) {
Ok(r) => r,