Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,15 @@ jobs:
include:
- build: linux musl x64
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-musl
- build: linux musl aarch64
os: ubuntu-latest
rust: stable
target: aarch64-unknown-linux-musl
- build: macos x64
os: macos-latest
rust: stable
target: x86_64-apple-darwin
- build: macos aarch64
os: macos-latest
rust: stable
target: aarch64-apple-darwin
steps:
- name: Set release tag
Expand All @@ -76,7 +72,6 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: "${{ matrix.target }},wasm32-wasip1"
cache: false
rustflags: ""
Expand Down Expand Up @@ -138,19 +133,15 @@ jobs:
include:
- build: linux musl x64
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-musl
- build: linux musl aarch64
os: ubuntu-latest
rust: stable
target: aarch64-unknown-linux-musl
- build: macos x64
os: macos-latest
rust: stable
target: x86_64-apple-darwin
- build: macos aarch64
os: macos-latest
rust: stable
target: aarch64-apple-darwin
steps:
- name: Set release tag
Expand All @@ -176,7 +167,6 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: "${{ matrix.target }},wasm32-wasip1"
cache: false
rustflags: ""
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
* fix: occasional status-bar pop-out after resurrecting a session (https://github.com/zellij-org/zellij/pull/4440)
* fix: properly serialize/resurrect layouts with one-line split panes (https://github.com/zellij-org/zellij/pull/4442)
* feat: allow attaching to remote Zellij sessions over https (eg. `zellij attach https://example.com/my-cool-session`) (https://github.com/zellij-org/zellij/pull/4460)
* build: Update Rust toolchain to 1.90.0 (https://github.com/zellij-org/zellij/pull/4457)

## [0.43.1] - 2025-08-08
* fix: pane rename backspace regression (https://github.com/zellij-org/zellij/pull/4346)
Expand Down
15 changes: 1 addition & 14 deletions Cargo.lock

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

20 changes: 14 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "zellij"
version = "0.44.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2021"
description = "A terminal workspace with batteries included"
license = "MIT"
repository = "https://github.com/zellij-org/zellij"
homepage = "https://zellij.dev"
include = ["src/**/*", "assets/layouts/*", "assets/config/*", "LICENSE.md", "README.md", "!**/*_test.*", "!**/tests/**/*"]
# NOTE: When updating this, modify `channel` in `rust-toolchain.toml` accordingly
rust-version = "1.84"
# See 'workspace.package' for concrete values
license.workspace = true
repository.workspace = true
edition.workspace = true
version.workspace = true
rust-version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down Expand Up @@ -59,6 +59,14 @@ members = [
".",
]

[workspace.package]
edition = "2021"
license = "MIT"
repository = "https://github.com/zellij-org/zellij"
version = "0.44.0"
# NOTE: When updating this, modify `channel` in `rust-toolchain.toml` accordingly
rust-version = "1.90"

[workspace.dependencies]
ansi_term = { version = "0.12.1", default-features = false }
anyhow = { version = "1.0.70", default-features = false, features = ["backtrace", "std"] }
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/about/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "about"
version = "0.1.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
zellij-tile = { path = "../../zellij-tile" }
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/compact-bar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "compact-bar"
version = "0.1.0"
authors = ["Alexander Kenji Berthold <aks.kenji@protonmail.com>" ]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
colored = "2"
Expand Down
5 changes: 4 additions & 1 deletion default-plugins/compact-bar/src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ use unicode_width::UnicodeWidthStr;
use zellij_tile::prelude::*;
use zellij_tile_utils::style;

fn cursors(focused_clients: &[ClientId], colors: MultiplayerColors) -> (Vec<ANSIString>, usize) {
fn cursors<'a>(
focused_clients: &'a [ClientId],
colors: MultiplayerColors,
) -> (Vec<ANSIString<'a>>, usize) {
// cursor section, text length
let mut len = 0;
let mut cursors = vec![];
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/configuration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "configuration"
version = "0.1.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
ansi_term = "0.12.1"
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/fixture-plugin-for-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "fixture-plugin-for-tests"
version = "0.1.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
serde = { version = "1.0", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/multiple-select/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "multiple-select"
version = "0.1.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
zellij-tile = { path = "../../zellij-tile" }
Expand Down
2 changes: 1 addition & 1 deletion default-plugins/plugin-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "plugin-manager"
version = "0.1.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2018"
edition.workspace = true

[dependencies]
uuid = { version = "1.7.0", features = ["v4"] }
Expand Down
2 changes: 1 addition & 1 deletion default-plugins/session-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "session-manager"
version = "0.1.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2018"
edition.workspace = true

[dependencies]
ansi_term = "0.12.1"
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/share/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "share"
version = "0.1.0"
authors = ["Aram Drevekenin <aram@poor.dev>"]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
zellij-tile = { path = "../../zellij-tile" }
Expand Down
2 changes: 1 addition & 1 deletion default-plugins/share/src/main_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl<'a> MainScreen<'a> {
state
}

fn calculate_layout(&self, rows: usize, cols: usize) -> Layout {
fn calculate_layout<'b>(&'b self, rows: usize, cols: usize) -> Layout<'b> {
let usage = Usage::new(!self.token_list_is_empty);
let web_server_status_section = WebServerStatusSection::new(
self.web_server_started,
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/status-bar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "status-bar"
version = "0.1.0"
authors = ["Brooks J Rady <b.j.rady@gmail.com>"]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
colored = "2"
Expand Down
2 changes: 1 addition & 1 deletion default-plugins/status-bar/src/tip/data/compact_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn compact_layout_short(help: &ModeInfo) -> LinePart {
strings!(&bits)
}

fn add_keybinds(help: &ModeInfo) -> Vec<ANSIString> {
fn add_keybinds<'a>(help: &'a ModeInfo) -> Vec<ANSIString<'a>> {
let to_pane = action_key(
&help.get_mode_keybinds(),
&[Action::SwitchToMode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn edit_scrollbuffer_short(help: &ModeInfo) -> LinePart {
strings!(&bits)
}

fn add_keybinds(help: &ModeInfo) -> Vec<ANSIString> {
fn add_keybinds<'a>(help: &'a ModeInfo) -> Vec<ANSIString<'a>> {
let to_pane = action_key(
&help.get_mode_keybinds(),
&[Action::SwitchToMode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub fn floating_panes_mouse_short(help: &ModeInfo) -> LinePart {
strings!(&bits)
}

fn add_keybinds(help: &ModeInfo) -> Vec<ANSIString> {
fn add_keybinds<'a>(help: &'a ModeInfo) -> Vec<ANSIString<'a>> {
let to_pane = action_key(
&help.get_mode_keybinds(),
&[Action::SwitchToMode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub fn move_focus_hjkl_tab_switch_short(help: &ModeInfo) -> LinePart {
strings!(&bits)
}

fn add_keybinds(help: &ModeInfo) -> Vec<ANSIString> {
fn add_keybinds<'a>(help: &'a ModeInfo) -> Vec<ANSIString<'a>> {
let pane_keymap = help.get_keybinds_for_mode(InputMode::Pane);
let move_focus_keys = action_key_group(
&pane_keymap,
Expand Down
2 changes: 1 addition & 1 deletion default-plugins/status-bar/src/tip/data/quicknav.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct Keygroups<'a> {
resize: Vec<ANSIString<'a>>,
}

fn add_keybinds(help: &ModeInfo) -> Keygroups {
fn add_keybinds<'a>(help: &'a ModeInfo) -> Keygroups<'a> {
let normal_keymap = help.get_mode_keybinds();
let new_pane_keys = action_key(
&normal_keymap,
Expand Down
2 changes: 1 addition & 1 deletion default-plugins/status-bar/src/tip/data/sync_tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn sync_tab_short(help: &ModeInfo) -> LinePart {
strings!(&bits)
}

fn add_keybinds(help: &ModeInfo) -> Vec<ANSIString> {
fn add_keybinds<'a>(help: &'a ModeInfo) -> Vec<ANSIString<'a>> {
let to_tab = action_key(
&help.get_mode_keybinds(),
&[Action::SwitchToMode {
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/strider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
name = "strider"
version = "0.2.0"
authors = ["Brooks J Rady <b.j.rady@gmail.com>"]
edition = "2021"
edition.workspace = true
description = "A simplified ranger clone written as a Zellij plugin"
license = "MIT"
license.workspace = true

[dependencies]
colored = "2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions default-plugins/tab-bar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "tab-bar"
version = "0.1.0"
authors = ["Jonah Caplan <jonahcaplan@gmail.com>"]
edition = "2021"
license = "MIT"
edition.workspace = true
license.workspace = true

[dependencies]
colored = "2"
Expand Down
6 changes: 3 additions & 3 deletions default-plugins/tab-bar/src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ use unicode_width::UnicodeWidthStr;
use zellij_tile::prelude::*;
use zellij_tile_utils::style;

fn cursors(
focused_clients: &[ClientId],
fn cursors<'a>(
focused_clients: &'a [ClientId],
multiplayer_colors: MultiplayerColors,
) -> (Vec<ANSIString>, usize) {
) -> (Vec<ANSIString<'a>>, usize) {
// cursor section, text length
let mut len = 0;
let mut cursors = vec![];
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is updated by `update-toolchain.sh`
[toolchain]
# NOTE: When updating this, modify `rust-version` in `Cargo.toml` accordingly
channel = "1.84.0"
channel = "1.90.0"
components = ["rustfmt", "clippy"]
# NOTE: Change this with care, this is also used by the CI pipeline
targets = ["wasm32-wasip1", "x86_64-unknown-linux-musl"]
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "xtask"
version = "0.1.0"
edition = "2021"
edition.workspace = true


[dependencies]
Expand Down
4 changes: 3 additions & 1 deletion xtask/src/pipelines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,10 @@ pub fn publish(sh: &Shell, flags: flags::Publish) -> anyhow::Result<()> {
.context(err_context)?;
// Version of the core crate
let version = manifest
.get("package")
.get("workspace")
.and_then(|workspace| workspace.get("package"))
.and_then(|package| package["version"].as_str())
.context("failed to read package version from manifest")
.context(err_context)?;

let mut skip_build = false;
Expand Down
6 changes: 3 additions & 3 deletions zellij-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "zellij-client"
version = "0.44.0"
version.workspace = true
authors = ["Kunal Mohan <kunalmohan99@gmail.com>"]
edition = "2021"
edition.workspace = true
description = "The client-side library for Zellij"
license = "MIT"
license.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
Loading
Loading