mirror of
https://github.com/TECHNOFAB11/bump2version.git
synced 2025-12-12 08:00:09 +01:00
chore: remove lib related stuff
This commit is contained in:
parent
1a7c22bdbf
commit
5d2e86e6f1
5 changed files with 1 additions and 13 deletions
0
src/cli.rs
Executable file → Normal file
0
src/cli.rs
Executable file → Normal 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;
|
||||
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue