* chore: Remove deprecated `Makefile.toml` which really should have been deleted as part of #2012. This hasn't been updated for more than 2 years now and I don't expect anyone to still use this. Our build process is now managed by `cargo xtask`. * Cargo: Update the Rust toolchain to 1.84.0 from 1.75.0 which has been deprecated for a while now. Along with this change, the `wasm32-wasi` target is no longer available (see subsequent commit for additional info). * chore: Rename `wasm32-wasi` to `wasm32-wasip1` as required by the Rust project. The `wasm32-wasi` target name has been retired and will likely be reused at a later time, although to express an entirely different target (i.e. implementation of the WASI standard). For additional information, see: - https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html - https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html#wasi-01-target-naming-changed * chore: Drop `rust-analysis` component from the `rust-toolchain.toml` definition. This was added way back in 2021 via8688569a, and while I'm not sure what it expressed back then, nowadays it refers to [Metadata for RLS][1], which apparently was an early language server implementation and has long since been replaced by *rust-analyzer*. We don't want to propose or enforce the use of a specific toolchain and in any case, setting this up properly is the job of a developers IDE/Editor. [1]:1f06e3b31d/doc/user-guide/src/concepts/components.md (previous-components)* chore: Adhere to type rename from `std::panic::PanicInfo` to `std::panic::PanicHookInfo`, which was introduced in Rust 1.81.0. For additional information, see: - https://releases.rs/docs/1.81.0/#compatibility-notes - https://github.com/rust-lang/rust/pull/115974/ * fix(utils/data): Adhere to expected case in match arm patterns, since the expression being matched against has been modified using `to_ascii_lowercase`. Hence, we cannot have upper case ASCII chars in the expressions (these arms were previously no-ops). * fix(utils): Derive `Hash` manually in `input/layout` since the `PartialEq` trait is also implemented manually. Previously the `Hash` impl wasn't consistent with the `Eq` impl, which can have weird effects when using these types in e.g. `HashMap`s or similar types. For additional information, see: - https://rust-lang.github.io/rust-clippy/master/index.html#derived_hash_with_manual_eq - https://doc.rust-lang.org/stable/std/hash/trait.Hash.html#hash-and-eq * fix(utils): Derive `Hash` manually in `pane_size` since the `PartialEq` trait is also implemented manually. Previously the `Hash` impl wasn't consistent with the `Eq` impl, which can have weird effects when using these types in e.g. `HashMap`s or similar types. For additional information, see: - https://rust-lang.github.io/rust-clippy/master/index.html#derived_hash_with_manual_eq - https://doc.rust-lang.org/stable/std/hash/trait.Hash.html#hash-and-eq * fix(server): Don't redeclare variables with their same names. Latest rust toolchains reject this code. * chore(actions): Use non-archived toolchain setup for the Rust toolchain. The previously used action has been archived over a year ago. The new one should also support reading our `rust-toolchain.toml`, so we no longer have to keep track of the toolchain in multiple places. * chore(actions): Add some space to YAML files to make them better visually parsable. * ci: Remove toolchain update Job since as far as I can tell, this isn't used any more. * ci: Fix invalid actions specification and only request an action without running other code. * CHANGELOG: Add PR #3945.
92 lines
3 KiB
TOML
92 lines
3 KiB
TOML
[package]
|
|
name = "zellij"
|
|
version = "0.42.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 more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
zellij-client = { path = "zellij-client/", version = "0.42.0" }
|
|
zellij-server = { path = "zellij-server/", version = "0.42.0" }
|
|
zellij-utils = { path = "zellij-utils/", version = "0.42.0" }
|
|
thiserror = "1.0.40"
|
|
names = { version = "0.14.0", default-features = false }
|
|
log = "0.4.17"
|
|
dialoguer = "0.10.4"
|
|
suggest = "0.4.0"
|
|
|
|
[dev-dependencies]
|
|
insta = { version = "1.6.0", features = ["backtrace"] }
|
|
ssh2 = "0.9.1"
|
|
rand = "0.8.0"
|
|
regex = "1.8.1"
|
|
|
|
[workspace]
|
|
members = [
|
|
"default-plugins/compact-bar",
|
|
"default-plugins/status-bar",
|
|
"default-plugins/strider",
|
|
"default-plugins/tab-bar",
|
|
"default-plugins/fixture-plugin-for-tests",
|
|
"default-plugins/session-manager",
|
|
"default-plugins/configuration",
|
|
"default-plugins/plugin-manager",
|
|
"zellij-client",
|
|
"zellij-server",
|
|
"zellij-utils",
|
|
"zellij-tile",
|
|
"zellij-tile-utils",
|
|
"xtask",
|
|
".",
|
|
]
|
|
|
|
[profile.dev-opt]
|
|
inherits = "dev"
|
|
|
|
[profile.dev-opt.package."*"]
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
lto = true
|
|
strip = true
|
|
|
|
[package.metadata.deb]
|
|
depends = "$auto"
|
|
license-file = ["LICENSE.md", "4"]
|
|
assets = [
|
|
["assets/man/zellij.1", "usr/share/man/man1/zellij.1", "644"],
|
|
["target/release/zellij", "usr/bin/zellij", "755"],
|
|
["GOVERNANCE.md", "usr/share/doc/zellij/GOVERNANCE.md", "644"],
|
|
["README.md", "usr/share/doc/zellij/README.md", "644"],
|
|
["assets/layouts/*", "usr/share/zellij/layouts/", "644"],
|
|
["assets/plugins/*", "usr/share/zellij/plugins/", "644"],
|
|
["assets/completions/zellij.bash", "usr/share/bash-completion/completions/zellij.bash", "644"],
|
|
["assets/completions/zellij.fish", "usr/share/fish/vendor_completions.d/zellij.fish", "644"],
|
|
["assets/completions/_zellij", "usr/share/zsh/vendor-completions/_zellij", "644"],
|
|
]
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz"
|
|
bin-dir = "{ bin }{ binary-ext }"
|
|
pkg-fmt = "tgz"
|
|
|
|
[features]
|
|
# See remarks in zellij_utils/Cargo.toml
|
|
default = ["plugins_from_target", "vendored_curl"]
|
|
plugins_from_target = ["zellij-utils/plugins_from_target"]
|
|
disable_automatic_asset_installation = ["zellij-utils/disable_automatic_asset_installation"]
|
|
vendored_curl = ["zellij-utils/vendored_curl"]
|
|
unstable = ["zellij-client/unstable", "zellij-utils/unstable"]
|
|
singlepass = ["zellij-server/singlepass"]
|
|
|
|
# uncomment this when developing plugins in the Zellij UI to make plugin compilation faster
|
|
# [profile.dev.package."*"]
|
|
# opt-level = 3
|