56 lines
1.9 KiB
TOML
56 lines
1.9 KiB
TOML
[package]
|
|
authors = ["Wez Furlong"]
|
|
name = "wezterm-escape-parser"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
repository = "https://github.com/wezterm/wezterm"
|
|
description = "Escape Sequence Parser"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/wezterm-escape-parser"
|
|
keywords = ["terminal", "escape", "parser"]
|
|
|
|
[dependencies]
|
|
base64 = {workspace = true, default-features=false, features=["alloc"]}
|
|
bitflags = "2.0"
|
|
hex = {workspace = true, default-features=false, features=["alloc"]}
|
|
image = {workspace =true, optional=true }
|
|
log.workspace = true
|
|
nix = { workspace=true, optional=true, features=["mman", "fs"] }
|
|
num-derive.workspace = true
|
|
num-traits.workspace = true
|
|
ordered-float.workspace = true
|
|
pest = {workspace = true, optional=true}
|
|
pest_derive = {workspace = true, optional=true}
|
|
serde = {workspace=true, optional=true}
|
|
sha2 = {workspace=true, optional=true}
|
|
thiserror = {version = "2.0", default-features=false }
|
|
vtparse = {workspace = true, features=["alloc"]}
|
|
wezterm-blob-leases = {workspace=true, optional=true}
|
|
wezterm-color-types.workspace = true
|
|
wezterm-dynamic.workspace = true
|
|
wezterm-input-types = {workspace = true, default-features=false}
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
windows-sys = { workspace = true, features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_Memory",
|
|
], optional = true }
|
|
|
|
[features]
|
|
std = ["vtparse/std", "thiserror/std", "wezterm-input-types/std", "hex/std", "wezterm-dynamic/std"]
|
|
kitty-shm = ["dep:nix", "dep:windows-sys"]
|
|
use_serde = ["dep:serde", "wezterm-color-types/use_serde", "wezterm-blob-leases/serde", "bitflags/serde", "wezterm-input-types/serde"]
|
|
use_image = ["image", "dep:image"]
|
|
image = ["sha2", "wezterm-blob-leases"]
|
|
tmux_cc = ["dep:pest", "dep:pest_derive"]
|
|
docs = ["use_serde", "image", "tmux_cc", "kitty-shm"]
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
env_logger.workspace = true
|
|
k9.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["docs"]
|
|
rustdoc-args = ["--cfg", "feature=\"docs\""]
|