crate-cli 11.0.0

A command-line tool for managing Cargo package lifecycles: version bump, workspace dependency sync, members-ordered publish and code formatting.
Documentation
//! crate-cli
//!
//! A command-line tool for managing Cargo package lifecycles:
//! version bump, workspace dependency sync,
//! members-ordered publish and code formatting.

mod bump;
mod cli;
mod command;
mod config;
mod fmt;
mod help;
mod logger;
mod manifest;
mod message;
mod publish;
mod sync;
mod tool;
mod version;

pub use {
    bump::*, command::*, config::*, fmt::*, help::*, logger::*, manifest::*, publish::*, sync::*,
    version::*,
};

pub(crate) use {cli::*, message::*, tool::*};

pub(crate) use std::{
    borrow::Cow,
    cmp,
    collections::HashMap,
    env::args,
    error::Error,
    ffi::{OsStr, OsString},
    fmt::Arguments,
    fs::{self, DirEntry, FileType},
    io::{self, ErrorKind},
    num::NonZeroUsize,
    path::{Path, PathBuf},
    process::{ExitStatus, Output, Stdio},
    str::{Split, SplitWhitespace, from_utf8},
    sync::{
        Arc, LazyLock,
        atomic::{AtomicUsize, Ordering},
    },
    thread::{Scope, ScopedJoinHandle, available_parallelism, scope},
    time::{SystemTime, UNIX_EPOCH},
};

pub(crate) use {
    color_output::*,
    log::{self, SetLoggerError},
    lombok_macros::*,
    regex::{Captures, Match, Regex},
    tidy::{
        self, Eol, Language, Options, Shared, Whitespace, Wrap,
        css::Dialect,
        embed::{Kind, Request, Verbatim},
        js::TrailingComma,
        markdown::{Code, Heading},
    },
    tokio::{
        fs::{ReadDir, read_dir, read_to_string, write},
        process::Command,
        spawn,
        task::JoinHandle,
        time::{Duration, sleep},
    },
    toml::{Value, from_str},
    toml_edit::{Array, DocumentMut, Item, TableLike, TomlError, value},
    which::which,
};