Skip to content

Commit

Permalink
Remove unused dependencies
Browse files Browse the repository at this point in the history
These were used in the style guide and docs for a deprecated feature.
  • Loading branch information
schneems committed Nov 7, 2024
1 parent 436ebc7 commit 3e77475
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
12 changes: 0 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions commons/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ rust-version.workspace = true
workspace = true

[dependencies]
ascii_table = { version = "4", features = ["color_codes"] }
byte-unit = "5"
const_format = "0.2"
# TODO: Consolidate on either the regex crate or the fancy-regex crate, since this repo currently uses both.
fancy-regex = "0.13"
fs_extra = "1"
fs-err = "3"
fun_run = "0.2"
glob = "0.3"
indoc = "2"
lazy_static = "1"
Expand Down
4 changes: 0 additions & 4 deletions commons/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// Used in the style guide
use ascii_table as _;
use fun_run as _;

pub mod cache;
pub mod display;
pub mod gem_version;
Expand Down
17 changes: 0 additions & 17 deletions commons/src/output/section_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,6 @@ pub fn log_step_timed<T>(s: impl AsRef<str>, f: impl FnOnce() -> T) -> T {
out
}

/// Will print the input string and yield a `Box<dyn StreamLogger>` that can be used to print
/// to the output. The main use case is running commands
///
/// ```no_run
/// use fun_run::CommandWithName;
/// use commons::output::section_log::log_step_stream;
/// use commons::output::fmt;
///
/// let mut cmd = std::process::Command::new("bundle");
/// cmd.arg("install");
///
/// log_step_stream(format!("Running {}", fmt::command(cmd.name())), |stream| {
/// cmd.stream_output(stream.io(), stream.io()).unwrap()
/// });
/// ```
///
/// Timing information will be output at the end of the step.
#[deprecated(since = "0.0.0", note = "Use `bullet_stream` instead")]
pub fn log_step_stream<T>(
s: impl AsRef<str>,
Expand Down

0 comments on commit 3e77475

Please sign in to comment.