Skip to content

Commit

Permalink
chore(deps)!: bump ratatui from 0.23.0 to 0.24.0
Browse files Browse the repository at this point in the history
Updates breaking changes from ratatui:
- `Frame`
- bump the MSRV to `1.70.0`

Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
  • Loading branch information
dependabot[bot] authored and a-kenji committed Oct 25, 2023
1 parent 751fda3 commit d66e1a8
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ allow = [
"MIT",
"Apache-2.0",
"Unicode-DFS-2016",
"BSD-2-Clause",
# "WTFPL",
# "AGPL-3.0",
#"Apache-2.0 WITH LLVM-exception",
Expand Down Expand Up @@ -203,7 +204,8 @@ unknown-git = "warn"
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed Git repositories
allow-git = []
allow-git = [ "git+https://github.com/sigaloid/iai?rev=6c83e942#6c83e9429b86290f88d6ff30ca6c0d6014b5a5f3"
]

[sources.allow-org]
# 1 or more github.com organizations to allow git sources for
Expand Down
2 changes: 1 addition & 1 deletion .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cargo-diff:

lint:
nix develop .#lintShell --command cargo diet
nix develop .#lintShell --command cargo deny check licenses
nix develop .#lintShell --command cargo deny check licenses sources
nix develop .#lintShell --command typos
nix develop .#lintShell --command lychee *.md
nix develop .#fmtShell --command treefmt --fail-on-change
Expand Down
72 changes: 68 additions & 4 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ documentation = "https://docs.rs/tui-term/latest/tui-term/"
repository = "https://github.com/a-kenji/tui-term"

autoexamples = true
rust-version = "1.67.0"
rust-version = "1.70.0"


keywords = ["tui", "terminal", "ratatui", "tty", "multiplexer"]
Expand All @@ -33,7 +33,7 @@ categories = ["command-line-interface", "command-line-utilities"]
# ]

[dependencies]
ratatui = "0.23.0"
ratatui = "0.24.0"
vt100 = "0.15.2"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion examples/long_running.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fn run<B: Backend>(
}
}

fn ui<B: Backend>(f: &mut Frame<B>, screen: &Screen) {
fn ui(f: &mut Frame, screen: &Screen) {
let chunks = ratatui::layout::Layout::default()
.direction(ratatui::layout::Direction::Vertical)
.margin(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/nested_shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ fn run<B: Backend>(
}
}

fn ui<B: Backend>(f: &mut Frame<B>, screen: &Screen) {
fn ui(f: &mut Frame, screen: &Screen) {
let chunks = ratatui::layout::Layout::default()
.direction(ratatui::layout::Direction::Vertical)
.margin(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/nested_shell_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ async fn run<B: Backend>(
}
}

fn ui<B: Backend>(f: &mut Frame<B>, screen: &Screen) {
fn ui(f: &mut Frame, screen: &Screen) {
let chunks = ratatui::layout::Layout::default()
.direction(ratatui::layout::Direction::Vertical)
.margin(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_ls_chan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fn run<B: Backend>(terminal: &mut Terminal<B>, screen: &Screen) -> io::Result<()
}
}

fn ui<B: Backend>(f: &mut Frame<B>, screen: &Screen) {
fn ui(f: &mut Frame, screen: &Screen) {
let chunks = ratatui::layout::Layout::default()
.direction(ratatui::layout::Direction::Vertical)
.margin(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_ls_rw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fn run<B: Backend>(
}
}

fn ui<B: Backend>(f: &mut Frame<B>, screen: &Screen) {
fn ui(f: &mut Frame, screen: &Screen) {
let chunks = ratatui::layout::Layout::default()
.direction(ratatui::layout::Direction::Vertical)
.margin(1)
Expand Down

0 comments on commit d66e1a8

Please sign in to comment.