From fb36167fea0b56ca206c421579ef3d5393fdede7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Jul 2022 03:05:39 -0400 Subject: [PATCH] build: bump terminal_size from 0.1.17 to 0.2.1 (#4150) Bumps [terminal_size](https://github.com/eminence/terminal-size) from 0.1.17 to 0.2.1. - [Release notes](https://github.com/eminence/terminal-size/releases) - [Commits](https://github.com/eminence/terminal-size/compare/v0.1.17...v0.2.1) --- updated-dependencies: - dependency-name: terminal_size dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 34 ++++++++++++++++++++++++++++++---- Cargo.toml | 2 +- 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9af7aaa6..394ddae7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -895,6 +895,12 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "io-lifetimes" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24c3f4eff5495aee4c0399d7b6a0dc2b6e81be84242ffbfcf253ebacccc1d0cb" + [[package]] name = "is_debug" version = "1.0.1" @@ -973,6 +979,12 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" +[[package]] +name = "linux-raw-sys" +version = "0.0.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" + [[package]] name = "local_ipaddress" version = "0.1.3" @@ -1752,6 +1764,20 @@ dependencies = [ "ordered-multimap", ] +[[package]] +name = "rustix" +version = "0.35.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d51cc38aa10f6bbb377ed28197aa052aa4e2b762c22be9d3153d01822587e787" +dependencies = [ + "bitflags", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys", + "windows-sys", +] + [[package]] name = "ryu" version = "1.0.10" @@ -2159,12 +2185,12 @@ dependencies = [ [[package]] name = "terminal_size" -version = "0.1.17" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df" +checksum = "8440c860cf79def6164e4a0a983bcc2305d82419177a0e0c71930d049e3ac5a1" dependencies = [ - "libc", - "winapi", + "rustix", + "windows-sys", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 5b860fa6..a33414ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,7 @@ shadow-rs = "0.12.0" starship-battery = { version = "0.7.9", optional = true } strsim = "0.10.0" systemstat = "=0.1.11" -terminal_size = "0.1.17" +terminal_size = "0.2.1" toml = { version = "0.5.9", features = ["preserve_order"] } toml_edit = "0.14.4" unicode-segmentation = "1.9.0"