Remove `atty` dependency

finchie
May 16, 2025, 6:47 AM
56KJGRVOKO3CWJQSVYWD6CV3FBSBD7PMHX6OIAPRYH2253GW2GFQC

Dependencies

  • [2] 2MKP7CB7 Move dependencies into workspace `Cargo.toml`
  • [3] I24UEJQL Various post-fire fixes
  • [4] RH7NSV7F Bump lockfile
  • [5] EUZFFJSO Updating Pijul with the latest changes in Libpijul
  • [6] SYZ44SKF Remove `async_trait` crate
  • [7] 4RV7T4SR Migrate from `pijul::config` to `pijul-config`
  • [8] 5BB266P6 Optional colours in the global config file
  • [9] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [10] STG7MO5M Version bump
  • [11] L4JXJHWX pijul/*: reorganize imports and remove extern crate
  • [12] RIZ4IP76 Solving more conflicts
  • [13] V7FJ2EPW Version bump
  • [14] EJ7TFFOW Re-adding Cargo.lock
  • [15] TCXM4WIJ Remove unused dependencies
  • [16] U6TQX5Z2 pager function respects cli option and user config files, PAGER env var
  • [17] RZ75BZCI Remove unused dependencies
  • [18] A3RM526Y Integrating identity malleability
  • [19] PNJL5TPZ Version bump
  • [20] OQQ4TGEM Printing modifications only once in pijul diff

Change contents

  • replacement in pijul/src/commands/diff.rs at line 2
    [3.44][3.173694:173714](),[3.173694][3.173694:173714]()
    use std::io::Write;
    [3.44]
    [3.173714]
    use std::io::{IsTerminal, Write};
  • replacement in pijul/src/commands/diff.rs at line 356
    [3.1333][3.430:483](),[3.2841][3.430:483](),[3.430][3.430:483]()
    let mut colors = atty::is(atty::Stream::Stdout);
    [3.1333]
    [3.1334]
    let mut colors = std::io::stdout().is_terminal();
  • edit in pijul/Cargo.toml at line 26
    [2.2276][2.2276:2298]()
    atty.workspace = true
  • edit in Cargo.toml at line 26
    [2.5994][2.5994:6007]()
    atty = "0.2"
  • edit in Cargo.lock at line 1862
    [3.1712][3.48080:48089](),[3.48080][3.48080:48089]()
    "atty",