Skip to content

Commit 43dbbde

Browse files
build(deps): update crossterm requirement from 0.27.0 to 0.28.1 (#22)
Updates the requirements on [crossterm](https://github.com/crossterm-rs/crossterm) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/crossterm-rs/crossterm/releases">crossterm's releases</a>.</em></p> <blockquote> <h2>0.27.0</h2> <h1>Version 0.27</h1> <h2>Added ⭐</h2> <ul> <li>Add <code>NO_COLOR</code> support (<a href="https://no-color.org/">https://no-color.org/</a>)</li> <li>Add option to force overwrite <code>NO_COLOR</code> (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/802">#802</a>)</li> <li>Add support for scroll left/right events on windows and unix systems (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/788">#788</a>).</li> <li>Add <code>window_size</code> function to fetch pixel width/height of screen for more sophisticated rendering in terminals.</li> <li>Add support for deserializing hex color strings to `Color`` e.g #fffff.</li> </ul> <h2>Changes</h2> <ul> <li>Make the events module an optional feature <code>events</code> (to make crossterm more lightweight) (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/776">#776</a>)</li> </ul> <h2>Breaking ⚠️</h2> <ul> <li>Set minimum rustc version to 1.58 (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/798">#798</a>)</li> <li>Change all error types to <code>std::io::Result</code> (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/765">#765</a>)</li> </ul> <p><a href="https://github.com/Gronis"><code>@​Gronis</code></a>, <a href="https://github.com/kevin-vigor"><code>@​kevin-vigor</code></a>, <a href="https://github.com/Wilfred"><code>@​Wilfred</code></a>, <a href="https://github.com/benjajaja"><code>@​benjajaja</code></a>, <a href="https://github.com/blt-r"><code>@​blt-r</code></a>, <a href="https://github.com/Piturnah"><code>@​Piturnah</code></a>, <a href="https://github.com/kdheepak"><code>@​kdheepak</code></a>, <a href="https://github.com/DeathVenom54"><code>@​DeathVenom54</code></a>, <a href="https://github.com/senekor"><code>@​senekor</code></a>, <a href="https://github.com/joseluis"><code>@​joseluis</code></a>, <a href="https://github.com/gibbz00"><code>@​gibbz00</code></a>, <a href="https://github.com/lesleyrs"><code>@​lesleyrs</code></a>, <a href="https://github.com/jhartzell42"><code>@​jhartzell42</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md">crossterm's changelog</a>.</em></p> <blockquote> <h1>Unreleased</h1> <h1>Version 0.28.1</h1> <h2>Fixed 🐛</h2> <ul> <li>Fix broken build on linux when using <code>use-dev-tty</code> with (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/906">#906</a>)</li> </ul> <h2>Breaking ⚠️</h2> <ul> <li>Fix desync with mio and signalhook between repo and published crate. (upgrade to mio 1.0)</li> </ul> <h1>Version 0.28</h1> <h2>Added ⭐</h2> <ul> <li>Capture double click mouse events on windows (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/826">#826</a>)</li> <li>(De)serialize Reset color (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/824">#824</a>)</li> <li>Add functions to allow constructing <code>Attributes</code> in a const context (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/817">#817</a>)</li> <li>Implement <code>Display</code> for <code>KeyCode</code> and <code>KeyModifiers</code> (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/862">#862</a>)</li> </ul> <h2>Changed ⚙️</h2> <ul> <li>Use Rustix by default instead of libc. Libc can be re-enabled if necessary with the <code>libc</code> feature flag (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/892">#892</a>)</li> <li><code>FileDesc</code> now requires a lifetime annotation.</li> <li>Improve available color detection (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/885">#885</a>)</li> <li>Speed up <code>SetColors</code> by ~15-25% (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/879">#879</a>)</li> <li>Remove unsafe and unnecessary size argument from <code>FileDesc::read()</code> (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/821">#821</a>)</li> </ul> <h2>Breaking ⚠️</h2> <ul> <li>Fix duplicate bit masks for caps lock and num lock (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/863">#863</a>). This breaks serialization of <code>KeyEventState</code></li> </ul> <h1>Version 0.27.1</h1> <h2>Added ⭐</h2> <ul> <li>Add support for (de)serializing <code>Reset</code> <code>Color</code></li> </ul> <h1>Version 0.27</h1> <h2>Added ⭐</h2> <ul> <li>Add <code>NO_COLOR</code> support (<a href="https://no-color.org/">https://no-color.org/</a>)</li> <li>Add option to force overwrite <code>NO_COLOR</code> (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/802">#802</a>)</li> <li>Add support for scroll left/right events on windows and unix systems (<a href="https://redirect.github.com/crossterm-rs/crossterm/issues/788">#788</a>).</li> <li>Add <code>window_size</code> function to fetch pixel width/height of screen for more sophisticated rendering in terminals.</li> <li>Add support for deserializing hex color strings to <code>Color</code> e.g #fffff.</li> </ul> <h2>Changed ⚙️</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/crossterm-rs/crossterm/compare/0.27.0...0.27.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh McKinney <[email protected]>
1 parent e0e3027 commit 43dbbde

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords = ["cli", "console", "ratatui", "terminal", "tui"]
1414
[workspace.dependencies]
1515
clap = { version = "4.5.8", features = ["derive"] }
1616
color-eyre = "0.6.3"
17-
crossterm = { version = "0.27.0" }
17+
crossterm = { version = "0.28.1" }
1818
derive_builder = "0.20.0"
1919
derive-getters = "0.4.0"
2020
derive_setters = "0.1.6"

tui-popup/Cargo.toml

+9-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ unwrap_used = "warn"
4141
expect_used = "warn"
4242

4343
[[example]]
44-
name = "state"
44+
name = "paragraph"
4545
required-features = ["crossterm"]
4646
doc-scrape-examples = true # applies to all examples, not just this one
47+
48+
[[example]]
49+
name = "popup"
50+
required-features = ["crossterm"]
51+
52+
[[example]]
53+
name = "state"
54+
required-features = ["crossterm"]

0 commit comments

Comments
 (0)