Skip to content

Commit

Permalink
Merge pull request #118 from rust-pretty-assertions/rm-vt100
Browse files Browse the repository at this point in the history
chore: remove stale vt100/ctor dependencies
  • Loading branch information
tommilligan committed Jul 6, 2023
2 parents 26bd02f + 3f07591 commit beff377
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions pretty_assertions/Cargo.toml
Expand Up @@ -32,8 +32,3 @@ unstable = []
[dependencies]
yansi = "0.5"
diff = "0.1.12"

[target.'cfg(windows)'.dependencies]
output_vt100 = "0.1.2"
ctor = "0.1.9"

8 changes: 0 additions & 8 deletions pretty_assertions/src/lib.rs
Expand Up @@ -84,14 +84,6 @@ use core::fmt::{self, Debug, Display};

mod printer;

#[cfg(windows)]
use ctor::*;
#[cfg(windows)]
#[ctor]
fn init() {
output_vt100::try_init().ok(); // Do not panic on fail
}

/// A comparison of two values.
///
/// Where both values implement `Debug`, the comparison can be displayed as a pretty diff.
Expand Down

0 comments on commit beff377

Please sign in to comment.