diff --git a/Cargo.lock b/Cargo.lock index 0dfc564e..d6b4f49c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,9 +301,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.29" +version = "1.2.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1599538de2394445747c8cf7935946e3cc27e9625f889d979bfb2aaf569362" +checksum = "c3a42d84bb6b69d3a8b3eaacf0d88f179e1929695e1ad012b6cf64d9caaa5fd2" dependencies = [ "shlex", ] @@ -373,9 +373,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.41" +version = "4.5.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be92d32e80243a54711e5d7ce823c35c41c9d929dc4ab58e1276f625841aadf9" +checksum = "ed87a9d530bb41a67537289bafcac159cb3ee28460e0a4571123d2a778a6a882" dependencies = [ "clap_builder", "clap_derive", @@ -393,9 +393,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.41" +version = "4.5.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707eab41e9622f9139419d573eca0900137718000c517d47da73045f54331c3d" +checksum = "64f4f3f3c77c94aff3c7e9aac9a2ca1974a5adf392a8bb751e827d6d127ab966" dependencies = [ "anstream", "anstyle", @@ -555,25 +555,22 @@ dependencies = [ [[package]] name = "criterion" -version = "0.5.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" +checksum = "e1c047a62b0cc3e145fa84415a3191f628e980b194c2755aa12300a4e6cbd928" dependencies = [ "anes", "cast", "ciborium", "clap", "criterion-plot", - "is-terminal", - "itertools 0.10.5", + "itertools 0.13.0", "num-traits", - "once_cell", "oorandom", "plotters", "rayon", "regex", "serde", - "serde_derive", "serde_json", "tinytemplate", "walkdir", @@ -581,12 +578,12 @@ dependencies = [ [[package]] name = "criterion-plot" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" +checksum = "9b1bcc0dc7dfae599d84ad0b1a55f80cde8af3725da8313b528da95ef783e338" dependencies = [ "cast", - "itertools 0.10.5", + "itertools 0.13.0", ] [[package]] @@ -831,9 +828,9 @@ dependencies = [ [[package]] name = "duct" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6ce170a0e8454fa0f9b0e5ca38a6ba17ed76a50916839d217eb5357e05cdfde" +checksum = "d7478638a31d1f1f3d6c9f5e57c76b906a04ac4879d6fd0fb6245bc88f73fd0b" dependencies = [ "libc", "os_pipe", @@ -1157,12 +1154,6 @@ dependencies = [ "ratatui", ] -[[package]] -name = "hermit-abi" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" - [[package]] name = "hex" version = "0.4.3" @@ -1261,9 +1252,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f66d5bd4c6f02bf0542fad85d626775bab9258cf795a4256dcaf3161114d1df" +checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e" dependencies = [ "bytes", "futures-channel", @@ -1274,7 +1265,7 @@ dependencies = [ "hyper", "libc", "pin-project-lite", - "socket2 0.5.10", + "socket2", "tokio", "tower-service", "tracing 0.1.41", @@ -1485,9 +1476,9 @@ dependencies = [ [[package]] name = "io-uring" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b86e202f00093dcba4275d4636b93ef9dd75d025ae560d2521b45ea28ab49013" +checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" dependencies = [ "bitflags 2.9.1", "cfg-if", @@ -1504,32 +1495,12 @@ dependencies = [ "serde", ] -[[package]] -name = "is-terminal" -version = "0.4.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.59.0", -] - [[package]] name = "is_terminal_polyfill" version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.13.0" @@ -1624,9 +1595,9 @@ dependencies = [ [[package]] name = "libredox" -version = "0.1.4" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1580801010e535496706ba011c15f8532df6b42297d2e471fec38ceadd8c0638" +checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3" dependencies = [ "bitflags 2.9.1", "libc", @@ -1665,9 +1636,9 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" [[package]] name = "litrs" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" +checksum = "f5e54036fe321fd421e10d732f155734c4e4afd610dd556d9a82833ab3ee0bed" [[package]] name = "lock_api" @@ -1687,9 +1658,9 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "lru" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f8cc7106155f10bdf99a6f379688f543ad6596a415375b36a59a054ceda1198" +checksum = "86ea4e65087ff52f3862caff188d489f1fab49a0cb09e01b2e3f1a617b10aaed" dependencies = [ "hashbrown", ] @@ -2629,9 +2600,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.13" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d04b7d0ee6b4a0207a0a7adb104d23ecb0b47d6beae7152d0fa34b692b29fd6" +checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" dependencies = [ "bitflags 2.9.1", ] @@ -2716,21 +2687,20 @@ dependencies = [ [[package]] name = "rstest" -version = "0.25.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fc39292f8613e913f7df8fa892b8944ceb47c247b78e1b1ae2f09e019be789d" +checksum = "f5a3193c063baaa2a95a33f03035c8a72b83d97a54916055ba22d35ed3839d49" dependencies = [ "futures-timer", "futures-util", "rstest_macros", - "rustc_version", ] [[package]] name = "rstest_macros" -version = "0.25.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f168d99749d307be9de54d23fd226628d99768225ef08f6ffb52e0182a27746" +checksum = "9c845311f0ff7951c5506121a9ad75aec44d083c31583b2ea5a30bcb0b0abba0" dependencies = [ "cfg-if", "glob", @@ -2746,9 +2716,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.25" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc_version" @@ -2761,22 +2731,22 @@ dependencies = [ [[package]] name = "rustix" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" +checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8" dependencies = [ "bitflags 2.9.1", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "rustls" -version = "0.23.29" +version = "0.23.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2491382039b29b9b11ff08b76ff6c97cf287671dbb74f0be44bda389fffe9bd1" +checksum = "c0ebcbd2f03de0fc1122ad9bb24b127a5a6cd51d72604a3f3c50ac459762b6cc" dependencies = [ "log", "once_cell", @@ -2924,9 +2894,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.141" +version = "1.0.142" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3" +checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7" dependencies = [ "itoa", "memchr", @@ -2998,9 +2968,9 @@ dependencies = [ [[package]] name = "shared_thread" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7a6f98357c6bb0ebace19b22220e5543801d9de90ffe77f8abb27c056bac064" +checksum = "52b86057fcb5423f5018e331ac04623e32d6b5ce85e33300f92c79a1973928b0" [[package]] name = "shlex" @@ -3042,9 +3012,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.4.5" +version = "1.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" +checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" dependencies = [ "libc", ] @@ -3063,9 +3033,9 @@ dependencies = [ [[package]] name = "simplerand" -version = "1.5.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21e69528fe5b77e9b19f5c4de1fcb8692471bb3325c8876ae62773d318351538" +checksum = "e111daec97c913e764c730b11de670f36adfc9ef87c791ee8999ecc3ded8f644" dependencies = [ "lazy_static", ] @@ -3109,16 +3079,6 @@ dependencies = [ "syn 2.0.104", ] -[[package]] -name = "socket2" -version = "0.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - [[package]] name = "socket2" version = "0.6.0" @@ -3158,14 +3118,13 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.27.1" +version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8" +checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" dependencies = [ "heck", "proc-macro2", "quote", - "rustversion", "syn 2.0.104", ] @@ -3431,9 +3390,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.47.0" +version = "1.47.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35" +checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", "io-uring", @@ -3441,7 +3400,7 @@ dependencies = [ "mio", "pin-project-lite", "slab", - "socket2 0.6.0", + "socket2", "tokio-macros", "windows-sys 0.59.0", ] @@ -3480,9 +3439,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" dependencies = [ "bytes", "futures-core", @@ -3493,9 +3452,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.9.2" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed0aee96c12fa71097902e0bb061a5e1ebd766a6636bb605ba401c45c1650eac" +checksum = "75129e1dc5000bfbaa9fee9d1b21f974f9fbad9daec557a521ee6e080825f6e8" dependencies = [ "indexmap", "serde", @@ -3534,9 +3493,9 @@ dependencies = [ [[package]] name = "toml_parser" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97200572db069e74c512a14117b296ba0a80a30123fbbb5aa1f4a348f639ca30" +checksum = "b551886f449aa90d4fe2bdaa9f4a2577ad2dde302c61ecf262d80b116db95c10" dependencies = [ "winnow", ] @@ -3699,9 +3658,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "trybuild" -version = "1.0.106" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65af40ad689f2527aebbd37a0a816aea88ff5f774ceabe99de5be02f2f91dae2" +checksum = "32e257d7246e7a9fd015fb0b28b330a8d4142151a33f03e6a497754f4b1f6a8e" dependencies = [ "dissimilar", "glob", @@ -4156,7 +4115,7 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.2", + "windows-targets 0.53.3", ] [[package]] @@ -4177,10 +4136,11 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.2" +version = "0.53.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef" +checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91" dependencies = [ + "windows-link", "windows_aarch64_gnullvm 0.53.0", "windows_aarch64_msvc 0.53.0", "windows_i686_gnu 0.53.0", @@ -4413,9 +4373,9 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.11.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" +checksum = "bdbb9122ea75b11bf96e7492afb723e8a7fbe12c67417aa95e7e3d18144d37cd" dependencies = [ "yoke", "zerofrom", diff --git a/Cargo.toml b/Cargo.toml index 171395ff..bde4e597 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,9 +30,10 @@ rust-version = "1.85.0" [workspace.dependencies] anstyle = "1" bitflags = "2.9" +clap = { version = "4.5", features = ["derive"] } color-eyre = "0.6" compact_str = { version = "0.9", default-features = false } -criterion = { version = "0.5", features = ["html_reports"] } +criterion = { version = "0.7", features = ["html_reports"] } crossterm = "0.29" document-features = "0.2" fakeit = "1" @@ -43,7 +44,8 @@ instability = "0.3" itertools = { version = "0.14", default-features = false, features = ["use_alloc"] } kasuari = { version = "0.4", default-features = false } line-clipping = "0.3" -lru = "0.14" +lru = "0.16" +octocrab = "0.44" palette = "0.7" pretty_assertions = "1" rand = "0.9" @@ -55,7 +57,7 @@ ratatui-macros = { path = "ratatui-macros", version = "0.7.0-beta.0" } ratatui-termion = { path = "ratatui-termion", version = "0.1.0-beta.0" } ratatui-termwiz = { path = "ratatui-termwiz", version = "0.1.0-beta.0" } ratatui-widgets = { path = "ratatui-widgets", version = "0.3.0-beta.0" } -rstest = "0.25" +rstest = "0.26" serde = { version = "1", features = ["derive"] } serde_json = "1" strum = { version = "0.27", default-features = false, features = ["derive"] } @@ -64,6 +66,7 @@ termwiz = "0.23" thiserror = { version = "2", default-features = false } time = { version = "0.3", default-features = false } tokio = "1" +tokio-stream = "0.1" tracing = "0.1" tracing-appender = "0.2" tracing-subscriber = "0.3" diff --git a/examples/apps/async-github/Cargo.toml b/examples/apps/async-github/Cargo.toml index feaae857..ca277f3e 100644 --- a/examples/apps/async-github/Cargo.toml +++ b/examples/apps/async-github/Cargo.toml @@ -14,9 +14,9 @@ edition.workspace = true rust-version.workspace = true [dependencies] -color-eyre = "0.6.5" +color-eyre.workspace = true crossterm = { workspace = true, features = ["event-stream"] } -octocrab = "0.44.0" +octocrab.workspace = true ratatui.workspace = true -tokio = { version = "1.47.0", features = ["rt-multi-thread", "macros"] } -tokio-stream = "0.1.17" +tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } +tokio-stream.workspace = true diff --git a/examples/apps/calendar-explorer/Cargo.toml b/examples/apps/calendar-explorer/Cargo.toml index 3cc7f0eb..a3862ca4 100644 --- a/examples/apps/calendar-explorer/Cargo.toml +++ b/examples/apps/calendar-explorer/Cargo.toml @@ -9,7 +9,7 @@ rust-version.workspace = true color-eyre.workspace = true crossterm.workspace = true ratatui.workspace = true -time = { version = "0.3.39", features = ["formatting", "parsing"] } +time = { workspace = true, features = ["formatting", "parsing"] } [lints] workspace = true diff --git a/examples/apps/colors-rgb/Cargo.toml b/examples/apps/colors-rgb/Cargo.toml index c9dc4602..7f9be0f5 100644 --- a/examples/apps/colors-rgb/Cargo.toml +++ b/examples/apps/colors-rgb/Cargo.toml @@ -8,7 +8,7 @@ rust-version.workspace = true [dependencies] color-eyre.workspace = true crossterm.workspace = true -palette = "0.7.6" +palette.workspace = true ratatui.workspace = true [lints] diff --git a/examples/apps/demo/Cargo.toml b/examples/apps/demo/Cargo.toml index 1f9ab4f8..327e779f 100644 --- a/examples/apps/demo/Cargo.toml +++ b/examples/apps/demo/Cargo.toml @@ -12,9 +12,9 @@ termion = ["ratatui/termion", "dep:termion"] termwiz = ["ratatui/termwiz", "dep:termwiz"] [dependencies] -clap = { version = "4.5.41", features = ["derive"] } +clap.workspace = true crossterm = { workspace = true, optional = true } -rand = "0.9.2" +rand.workspace = true ratatui.workspace = true termwiz = { workspace = true, optional = true } diff --git a/examples/apps/demo2/Cargo.toml b/examples/apps/demo2/Cargo.toml index 00ae7bb9..a614561e 100644 --- a/examples/apps/demo2/Cargo.toml +++ b/examples/apps/demo2/Cargo.toml @@ -6,14 +6,14 @@ edition.workspace = true rust-version.workspace = true [dependencies] -color-eyre = "0.6.5" +color-eyre.workspace = true crossterm.workspace = true indoc.workspace = true itertools.workspace = true -palette = "0.7.6" -rand = "0.9.2" -rand_chacha = "0.9.0" +palette.workspace = true +rand.workspace = true +rand_chacha.workspace = true ratatui = { workspace = true, features = ["all-widgets"] } strum.workspace = true -time = "0.3.39" -unicode-width = "0.2.0" +time.workspace = true +unicode-width.workspace = true diff --git a/examples/apps/inline/Cargo.toml b/examples/apps/inline/Cargo.toml index 168d47cc..2103cb27 100644 --- a/examples/apps/inline/Cargo.toml +++ b/examples/apps/inline/Cargo.toml @@ -8,7 +8,7 @@ rust-version.workspace = true [dependencies] color-eyre.workspace = true crossterm.workspace = true -rand = "0.9.2" +rand.workspace = true ratatui.workspace = true [lints] diff --git a/examples/apps/mouse-drawing/Cargo.toml b/examples/apps/mouse-drawing/Cargo.toml index eb7a77bc..d7b59ee8 100644 --- a/examples/apps/mouse-drawing/Cargo.toml +++ b/examples/apps/mouse-drawing/Cargo.toml @@ -9,8 +9,8 @@ rust-version.workspace = true color-eyre.workspace = true crossterm.workspace = true ## a collection of line drawing algorithms (e.g. Bresenham's line algorithm) -line_drawing = "1.0.1" -rand = "0.9.2" +line_drawing = "1" +rand.workspace = true ratatui.workspace = true [lints] diff --git a/examples/apps/table/Cargo.toml b/examples/apps/table/Cargo.toml index ca7bb86c..3657104f 100644 --- a/examples/apps/table/Cargo.toml +++ b/examples/apps/table/Cargo.toml @@ -8,7 +8,7 @@ rust-version.workspace = true [dependencies] color-eyre.workspace = true crossterm.workspace = true -fakeit = "1.1" +fakeit.workspace = true itertools.workspace = true ratatui.workspace = true unicode-width.workspace = true diff --git a/examples/apps/tracing/Cargo.toml b/examples/apps/tracing/Cargo.toml index 26760946..78bc25a0 100644 --- a/examples/apps/tracing/Cargo.toml +++ b/examples/apps/tracing/Cargo.toml @@ -9,9 +9,9 @@ rust-version.workspace = true color-eyre.workspace = true crossterm.workspace = true ratatui.workspace = true -tracing = "0.1.40" -tracing-appender = "0.2.3" -tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } +tracing.workspace = true +tracing-appender.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } [lints] workspace = true diff --git a/examples/apps/weather/Cargo.toml b/examples/apps/weather/Cargo.toml index 5fde3a35..61e81cd4 100644 --- a/examples/apps/weather/Cargo.toml +++ b/examples/apps/weather/Cargo.toml @@ -8,7 +8,7 @@ rust-version.workspace = true [dependencies] color-eyre.workspace = true crossterm.workspace = true -rand = "0.9.2" +rand.workspace = true ratatui.workspace = true [lints] diff --git a/examples/concepts/state/Cargo.toml b/examples/concepts/state/Cargo.toml index b055299b..bebcefab 100644 --- a/examples/concepts/state/Cargo.toml +++ b/examples/concepts/state/Cargo.toml @@ -6,6 +6,6 @@ edition.workspace = true rust-version.workspace = true [dependencies] -color-eyre = "0.6" -crossterm = "0.29" +color-eyre.workspace = true +crossterm.workspace = true ratatui = { workspace = true, features = ["unstable-widget-ref"] } diff --git a/ratatui/benches/main/buffer.rs b/ratatui/benches/main/buffer.rs index 36dafc17..a373303a 100644 --- a/ratatui/benches/main/buffer.rs +++ b/ratatui/benches/main/buffer.rs @@ -1,4 +1,6 @@ -use criterion::{BenchmarkId, Criterion, black_box}; +use std::hint::black_box; + +use criterion::{BenchmarkId, Criterion}; use ratatui::buffer::{Buffer, Cell}; use ratatui::layout::Rect; use ratatui::text::Line; diff --git a/ratatui/benches/main/paragraph.rs b/ratatui/benches/main/paragraph.rs index 9b08b4ca..7e84d0b5 100644 --- a/ratatui/benches/main/paragraph.rs +++ b/ratatui/benches/main/paragraph.rs @@ -1,4 +1,6 @@ -use criterion::{BatchSize, Bencher, BenchmarkId, Criterion, black_box, criterion_group}; +use std::hint::black_box; + +use criterion::{BatchSize, Bencher, BenchmarkId, Criterion, criterion_group}; use ratatui::buffer::Buffer; use ratatui::layout::Rect; use ratatui::widgets::{Paragraph, Widget, Wrap}; diff --git a/ratatui/benches/main/rect.rs b/ratatui/benches/main/rect.rs index 9a5926b8..2bd79185 100644 --- a/ratatui/benches/main/rect.rs +++ b/ratatui/benches/main/rect.rs @@ -1,4 +1,6 @@ -use criterion::{BatchSize, Bencher, BenchmarkId, Criterion, black_box, criterion_group}; +use std::hint::black_box; + +use criterion::{BatchSize, Bencher, BenchmarkId, Criterion, criterion_group}; use ratatui::layout::Rect; fn rect_iters_benchmark(c: &mut Criterion) { diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 29d33100..1ad5e1de 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -5,9 +5,9 @@ publish = false license.workspace = true [dependencies] -clap = { version = "4.5.41", features = ["derive"] } -clap-verbosity-flag = { version = "3.0.3", default-features = false, features = ["tracing"] } -color-eyre = "0.6.5" -duct = "1.0.0" -tracing = "0.1.40" -tracing-subscriber = { version = "0.3.18" } +clap.workspace = true +clap-verbosity-flag = { version = "3", default-features = false, features = ["tracing"] } +color-eyre.workspace = true +duct = "1" +tracing.workspace = true +tracing-subscriber.workspace = true