# 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 = "2021" name = "workflow-terminal" version = "0.18.0" authors = ["WORKFLOW-RS developers"] build = false include = [ "src/**/*.rs", "Cargo.toml", "README.md", "extern/resources/*.js", "extern/resources/*.css", ] 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" [lib] name = "workflow_terminal" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" doctest = false [dependencies.async-std] version = "1.12.0" features = ["attributes"] [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.29" [dependencies.js-sys] version = "0.3.64" [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 = "1.0.50" [dependencies.wasm-bindgen] version = "0.2.93" [dependencies.wasm-bindgen-futures] version = "0.4.43" [dependencies.web-sys] version = "0.3.70" features = [ "Blob", "CssStyleDeclaration", "CustomEvent", "DataTransfer", "Document", "Element", "Event", "EventTarget", "HtmlCollection", "KeyboardEvent", "Node", "NodeList", "ResizeObserver", "Url", "Window", ] [dependencies.workflow-core] version = "0.18.0" default-features = false [dependencies.workflow-dom] version = "0.18.0" default-features = false [dependencies.workflow-log] version = "0.18.0" default-features = false [dependencies.workflow-terminal-macros] version = "0.18.0" default-features = false [dependencies.workflow-wasm] version = "0.18.0" default-features = false [dev-dependencies.tokio] version = "1.33.0" features = [ "io-util", "time", "sync", "macros", "rt", "rt-multi-thread", ] default-features = false [features] termion = ["dep:termion"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossterm] version = "0.27.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.termion] version = "4.0.2" optional = true [lints.clippy] empty_docs = "allow"