Skip to content

Commit

Permalink
chore(deps): bump the cargo-dependencies group across 1 directory wit…
Browse files Browse the repository at this point in the history
…h 8 updates (#99)

* chore(deps): bump the cargo-dependencies group across 1 directory with 8 updates

Bumps the cargo-dependencies group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.15` | `4.5.16` |
| [crossterm](https://github.com/crossterm-rs/crossterm) | `0.27.0` | `0.28.1` |
| [libc](https://github.com/rust-lang/libc) | `0.2.155` | `0.2.158` |
| [ratatui](https://github.com/ratatui/ratatui) | `0.27.0` | `0.28.0` |
| [ratatui-macros](https://github.com/ratatui-org/ratatui-macros) | `0.4.4` | `0.5.0` |
| [serde](https://github.com/serde-rs/serde) | `1.0.207` | `1.0.209` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.39.2` | `1.40.0` |
| [tui-input](https://github.com/sayanarijit/tui-input) | `0.9.0` | `0.10.1` |



Updates `clap` from 4.5.15 to 4.5.16
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.15...clap_complete-v4.5.16)

Updates `crossterm` from 0.27.0 to 0.28.1
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Updates `libc` from 0.2.155 to 0.2.158
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md)
- [Commits](rust-lang/libc@0.2.155...0.2.158)

Updates `ratatui` from 0.27.0 to 0.28.0
- [Release notes](https://github.com/ratatui/ratatui/releases)
- [Changelog](https://github.com/ratatui/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.27.0...v0.28.0)

Updates `ratatui-macros` from 0.4.4 to 0.5.0
- [Release notes](https://github.com/ratatui-org/ratatui-macros/releases)
- [Changelog](https://github.com/ratatui/ratatui-macros/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui-macros@v0.4.4...v0.5.0)

Updates `serde` from 1.0.207 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.207...v1.0.209)

Updates `tokio` from 1.39.2 to 1.40.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.39.2...tokio-1.40.0)

Updates `tui-input` from 0.9.0 to 0.10.1
- [Release notes](https://github.com/sayanarijit/tui-input/releases)
- [Commits](sayanarijit/tui-input@v0.9.0...v0.10.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: ratatui-macros
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: tui-input
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix deprecated functions

---------

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]>
  • Loading branch information
dependabot[bot] and joshka authored Sep 2, 2024
1 parent dad9b37 commit 48f8e8e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 110 deletions.
127 changes: 27 additions & 100 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ eula = false
better-panic = "0.3.0"
cfg-if = "1.0.0"
chrono = "0.4.38"
clap = { version = "4.5.11", features = ["derive", "cargo", "wrap_help", "unicode", "string", "unstable-styles", "color"] }
clap = { version = "4.5.16", features = ["derive", "cargo", "wrap_help", "unicode", "string", "unstable-styles", "color"] }
color-eyre = "0.6.3"
copypasta = "0.10.1"
crates_io_api = "0.11.0"
crossterm = { version = "0.27.0", features = ["serde", "event-stream"] }
crossterm = { version = "0.28.1", features = ["serde", "event-stream"] }
derive_deref = "1.1.1"
directories = "5.0.1"
figment = { version = "0.10.19", features = ["env", "toml", "yaml"] }
Expand All @@ -33,18 +33,18 @@ human-panic = "2.0.1"
itertools = "0.13.0"
json5 = "0.4.1"
lazy_static = "1.5.0"
libc = "0.2.155"
libc = "0.2.158"
num-format = "0.4.4"
pretty_assertions = "1.4.0"
ratatui = { version = "0.27.0", features = ["serde", "macros"] }
ratatui-macros = "0.4.3"
serde = { version = "1.0.204", features = ["derive"] }
ratatui = { version = "0.28.0", features = ["serde", "macros"] }
ratatui-macros = "0.5.0"
serde = { version = "1.0.209", features = ["derive"] }
serde_with = "3.9.0"
signal-hook = "0.3.17"
strip-ansi-escapes = "0.2.0"
strum = { version = "0.26.3", features = ["derive"] }
textwrap = "0.16.1"
tokio = { version = "1.39.2", features = ["full"] }
tokio = { version = "1.40.0", features = ["full"] }
tokio-stream = "0.1.15"
tokio-util = "0.7.11"
toml = "0.8.16"
Expand All @@ -53,7 +53,7 @@ tracing-appender = "0.2.3"
tracing-error = "0.2.0"
tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "serde", "serde_json"] }
tui-input = "0.9.0"
tui-input = "0.10.1"
unicode-width = "0.1.13"
uuid = "1.10.0"
webbrowser = "1.0.1"
Expand Down
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl App {
// Render the `AppWidget` as a stateful widget using `self` as the `State`
fn draw(&mut self, tui: &mut Tui) -> Result<()> {
tui.draw(|frame| {
frame.render_stateful_widget(AppWidget, frame.size(), self);
frame.render_stateful_widget(AppWidget, frame.area(), self);
self.update_frame_count(frame);
self.update_cursor(frame);
})?;
Expand Down Expand Up @@ -485,7 +485,7 @@ impl App {
fn update_cursor(&mut self, frame: &mut Frame<'_>) {
if self.mode.is_prompt() {
if let Some(cursor_position) = self.search.cursor_position() {
frame.set_cursor(cursor_position.x, cursor_position.y)
frame.set_cursor_position(cursor_position);
}
}
}
Expand Down

0 comments on commit 48f8e8e

Please sign in to comment.