workflow-terminal 0.19.0

Terminal abstraction layer over Xterm.js and termion crates for creating terminal applications that function uniformly in native (console) and in browser (WASM32) environments.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "workflow-terminal"
version = "0.19.0"
authors = ["WORKFLOW-RS developers"]
build = false
include = [
    "src/**/*.rs",
    "Cargo.toml",
    "README.md",
    "extern/resources/*.js",
    "extern/resources/*.css",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Terminal abstraction layer over Xterm.js and termion crates for 
creating terminal applications that function uniformly in native
(console) and in browser (WASM32) environments.
"""
readme = "README.md"
keywords = [
    "wasm",
    "browser",
    "terminal",
    "cli",
]
categories = [
    "command-line-interface",
    "web-programming::http-client",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/workflow-rs/workflow-rs"
resolver = "2"

[features]
termion = ["dep:termion"]

[lib]
name = "workflow_terminal"
crate-type = [
    "cdylib",
    "lib",
]
path = "src/lib.rs"
doctest = false

[dependencies.async-trait]
version = "0.1.74"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.downcast]
version = "0.11.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.js-sys]
version = "0.3.77"

[dependencies.numtoa]
version = "0.2.4"

[dependencies.nw-sys]
version = "0.1.6"

[dependencies.pad]
version = "0.1.6"

[dependencies.regex]
version = "1.10.2"

[dependencies.textwrap]
version = "0.16.0"

[dependencies.thiserror]
version = "2.0.11"

[dependencies.wasm-bindgen]
version = "0.2.100"

[dependencies.wasm-bindgen-futures]
version = "0.4.50"

[dependencies.web-sys]
version = "0.3.77"
features = [
    "Blob",
    "CssStyleDeclaration",
    "CustomEvent",
    "DataTransfer",
    "Document",
    "Element",
    "Event",
    "EventTarget",
    "HtmlCollection",
    "KeyboardEvent",
    "Node",
    "NodeList",
    "ResizeObserver",
    "Url",
    "Window",
]

[dependencies.workflow-core]
version = "0.19.0"
default-features = false

[dependencies.workflow-dom]
version = "0.19.0"
default-features = false

[dependencies.workflow-log]
version = "0.19.0"
default-features = false

[dependencies.workflow-terminal-macros]
version = "0.19.0"
default-features = false

[dependencies.workflow-wasm]
version = "0.19.0"
default-features = false

[dev-dependencies.tokio]
version = "1.33.0"
features = [
    "io-util",
    "time",
    "sync",
    "macros",
    "rt",
    "rt-multi-thread",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossterm]
version = "0.29"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.termion]
version = "4.0.3"
optional = true

[lints.clippy]
empty_docs = "allow"