2021-02-10 01:19:34 +03:00
|
|
|
[package]
|
|
|
|
name = "zellij"
|
2022-08-02 19:46:32 +03:00
|
|
|
version = "0.32.0"
|
2021-02-10 01:19:34 +03:00
|
|
|
authors = ["Aram Drevekenin <aram@poor.dev>"]
|
2021-10-22 04:21:16 +03:00
|
|
|
edition = "2021"
|
2021-04-20 02:23:01 +03:00
|
|
|
description = "A terminal workspace with batteries included"
|
2021-02-16 21:50:22 +03:00
|
|
|
license = "MIT"
|
2021-02-26 01:42:52 +03:00
|
|
|
repository = "https://github.com/zellij-org/zellij"
|
2021-04-20 02:23:01 +03:00
|
|
|
homepage = "https://zellij.dev"
|
2021-04-29 17:52:22 +03:00
|
|
|
include = ["src/**/*", "assets/plugins/*", "assets/layouts/*", "assets/config/*", "LICENSE.md", "README.md", "!**/*_test.*", "!**/tests/**/*"]
|
2022-05-22 13:48:34 +03:00
|
|
|
rust-version = "1.59"
|
2021-02-26 02:05:04 +03:00
|
|
|
|
2021-02-10 01:19:34 +03:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-10-31 21:14:12 +03:00
|
|
|
anyhow = "1.0"
|
2022-05-23 22:42:30 +03:00
|
|
|
names = { version = "0.13.0", default-features = false }
|
feat: add capability to dispatch actions from cli (#1265)
* feat: add capability to dispatch actions from cli
Add capability to dispatch actions from the cli.
Can be invoked through `zellij action [actions]`
Automatically sends the action either to the current session,
or if there is only one session to the single session.
If there are multiple sessions, and no session is specified it will
error out.
Example:
1.
```
zellij action "[NewTab: , NewTab: ]"
```
2.
```
zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]'
```
3.
```
zellij -s fluffy-cat action '[ CloseTab, ]
```
* add: error message on malformed input
Add an error message on malformed input, for the `action`'s dispatch.
Rather than resulting in a panic.
* add: function to query the client id
* add: send specific actions to certain clients
Adds ability to send actions, that don't impact the server state
to all connected clients. For example `MoveFocus`
* add: client_id to non blocking actions
* chore(fmt): `cargo fmt`
* add: pick correct session, if there is exactly one
* add: use correct `client_id` for detach action
* add: make `[ ]` opaque to the user
* add: miette to toplevel to improve error message
* add: fake client reading configuration
Add the fake client reading configuration files,
this allows actions, that rely on configuration work
correctly. This is an intermediate solution, and should ideally not
be needed. It would be better if most of this state would be handled
by the server itself.
* chore(fmt): rustmt
* add: ability to detach multiple clients
Add ability to detach multiple clients at the same time.
* remove: obsolete functionality
* remove: unused functionality
* add: send correct action upon exiting
* chore(update): cargo update
2022-06-15 12:20:06 +03:00
|
|
|
miette = { version = "3.3.0", features = ["fancy"] }
|
2022-08-02 19:46:32 +03:00
|
|
|
zellij-client = { path = "zellij-client/", version = "0.32.0" }
|
|
|
|
zellij-server = { path = "zellij-server/", version = "0.32.0" }
|
|
|
|
zellij-utils = { path = "zellij-utils/", version = "0.32.0" }
|
2022-05-09 19:32:36 +03:00
|
|
|
log = "0.4.17"
|
2022-05-23 22:42:30 +03:00
|
|
|
dialoguer = "0.10.1"
|
2022-05-10 17:39:28 +03:00
|
|
|
suggest = "0.4"
|
2021-02-10 01:19:34 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-06-21 11:45:18 +03:00
|
|
|
insta = { version = "1.6.0", features = ["backtrace"] }
|
|
|
|
ssh2 = "0.9.1"
|
|
|
|
rand = "0.8.0"
|
2021-02-10 01:19:34 +03:00
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2021-05-16 14:12:50 +03:00
|
|
|
"zellij-client",
|
|
|
|
"zellij-server",
|
|
|
|
"zellij-utils",
|
2021-02-09 22:06:47 +03:00
|
|
|
"zellij-tile",
|
2021-05-05 01:31:30 +03:00
|
|
|
"zellij-tile-utils",
|
2022-06-03 12:14:38 +03:00
|
|
|
"default-plugins/compact-bar",
|
2021-04-20 01:37:47 +03:00
|
|
|
"default-plugins/status-bar",
|
|
|
|
"default-plugins/strider",
|
|
|
|
"default-plugins/tab-bar",
|
2021-03-26 19:01:22 +03:00
|
|
|
".",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
2022-05-22 13:48:34 +03:00
|
|
|
strip = true
|
2021-02-10 01:19:34 +03:00
|
|
|
|
|
|
|
[package.metadata.deb]
|
|
|
|
depends = "$auto"
|
|
|
|
license-file = ["LICENSE.md", "4"]
|
|
|
|
assets = [
|
2021-05-04 21:50:27 +03:00
|
|
|
["assets/man/zellij.1", "usr/share/man/man1/zellij.1", "644"],
|
2021-02-10 09:53:40 +03:00
|
|
|
["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"],
|
2021-02-10 01:19:34 +03:00
|
|
|
]
|
2021-05-06 22:38:10 +03:00
|
|
|
|
2022-02-27 17:06:43 +03:00
|
|
|
[package.metadata.binstall]
|
|
|
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz"
|
|
|
|
bin-dir = "{ bin }{ binary-ext }"
|
|
|
|
pkg-fmt = "tgz"
|
|
|
|
|
2021-05-06 22:38:10 +03:00
|
|
|
[features]
|
2022-03-17 13:40:09 +03:00
|
|
|
disable_automatic_asset_installation = [ "zellij-utils/disable_automatic_asset_installation" ]
|
2022-06-25 22:48:00 +03:00
|
|
|
unstable = [ "zellij-client/unstable", "zellij-utils/unstable" ]
|