zed/crates/terminal/Cargo.toml
Stanislav Alekseev 85fdcef564
Do not enable venv in terminal for bash-like oneshot task invocations (#8444)
Release Notes:
- Work around #8334 by only activating venv in the terminal not in tasks
(see #8440 for a proper solution)
- To use venv modify your tasks in the following way:
```json
{
  "label": "Python main.py",
  "command": "sh",
  "args": ["-c", "source .venv/bin/activate && python3 main.py"]
}
```

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
2024-03-21 19:40:33 +02:00

42 lines
802 B
TOML

[package]
name = "terminal"
version = "0.1.0"
edition = "2021"
publish = false
license = "GPL-3.0-or-later"
[lints]
workspace = true
[lib]
path = "src/terminal.rs"
doctest = false
[dependencies]
# TODO: when new version of this crate is released, change it
alacritty_terminal = "0.23.0-rc1"
anyhow.workspace = true
collections.workspace = true
dirs = "4.0.0"
futures.workspace = true
gpui.workspace = true
libc = "0.2"
task.workspace = true
schemars.workspace = true
serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
sysinfo.workspace = true
smol.workspace = true
theme.workspace = true
thiserror.workspace = true
util.workspace = true
[target.'cfg(windows)'.dependencies]
windows.workspace = true
[dev-dependencies]
rand.workspace = true