diff --git a/Cargo.lock b/Cargo.lock index 5558cab0..7fa8258c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -494,6 +494,7 @@ checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" dependencies = [ "bitflags 2.4.1", "crossterm_winapi", + "filedescriptor", "libc", "mio", "parking_lot", @@ -641,6 +642,17 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "filedescriptor" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7199d965852c3bac31f779ef99cbb4537f80e952e2d6aa0ffeb30cce00f4f46e" +dependencies = [ + "libc", + "thiserror", + "winapi", +] + [[package]] name = "flate2" version = "1.0.28" diff --git a/Cargo.toml b/Cargo.toml index 4f6fd626..aba022c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,6 +54,9 @@ version = "5.0.0" default-features = false features = ["parsing", "regex-onig", "plist-load"] +[target.'cfg(target_os = "macos")'.dependencies] +crossterm = { version = "0.27.0", features = ["use-dev-tty"] } + [target.'cfg(not(any(target_os = "android", target_os = "emscripten")))'.dependencies] arboard = { version = "3.3.0", default-features = false }