Skip to content

Commit

Permalink
Merge pull request #92 from a-kenji/dependabot/cargo/ratatui-0.24.0
Browse files Browse the repository at this point in the history
chore(deps): bump ratatui from 0.23.0 to 0.24.0
  • Loading branch information
a-kenji authored Oct 25, 2023
2 parents 28fd71f + d66e1a8 commit bb4cdfe
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
@@ -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",
@@ -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
2 changes: 1 addition & 1 deletion .justfile
Original file line number Diff line number Diff line change
@@ -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
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
@@ -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"]
@@ -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]
2 changes: 1 addition & 1 deletion examples/long_running.rs
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion examples/nested_shell.rs
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion examples/nested_shell_async.rs
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion examples/simple_ls_chan.rs
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion examples/simple_ls_rw.rs
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit bb4cdfe

Please sign in to comment.