There have been a couple of attempts at this in the past, which had some usability warts in what I recall as an earlier, less useful set of features overall. Whether that was collective misunderstanding at the time, or things have gotten better since then, now is a good time to adopt the workspace dep syntax, because wezterm has many crates to keep on top of, and automation like dependabot can't see a lot of them. This will help to manage the versions of deps in wezterm centrally. Let's try this out in CI: the Cargo.lock changes here are minimal (eliminated a second version of base64 from one crate, terminal_size from another, and removed an explicit dep on serde_derive) so hopefully this sails through on !linux. closes: https://github.com/wezterm/wezterm/pull/6668
43 lines
969 B
TOML
43 lines
969 B
TOML
[package]
|
|
name = "portable-pty"
|
|
version = "0.9.0"
|
|
authors = ["Wez Furlong"]
|
|
edition = "2018"
|
|
repository = "https://github.com/wezterm/wezterm"
|
|
description = "Cross platform pty interface"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/portable-pty"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
downcast-rs.workspace = true
|
|
filedescriptor.workspace = true
|
|
libc.workspace = true
|
|
log.workspace = true
|
|
nix = {workspace=true, features=["term", "fs"]}
|
|
serde = {workspace=true, optional=true, features=["derive"]}
|
|
serial2.workspace = true
|
|
shell-words.workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
serde_support = ["serde"]
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
bitflags.workspace = true
|
|
lazy_static.workspace = true
|
|
shared_library.workspace = true
|
|
winapi = { workspace=true, features = [
|
|
"winuser",
|
|
"consoleapi",
|
|
"handleapi",
|
|
"fileapi",
|
|
"namedpipeapi",
|
|
"synchapi",
|
|
]}
|
|
winreg.workspace = true
|
|
|
|
[dev-dependencies]
|
|
futures.workspace = true
|
|
smol.workspace = true
|