2018-01-04 00:43:54 +11:00
|
|
|
[package]
|
2024-08-11 20:55:08 +10:00
|
|
|
name = "minicrossterm"
|
2024-08-02 04:33:26 +10:00
|
|
|
version = "0.28.1"
|
2024-08-11 20:55:08 +10:00
|
|
|
authors = ["Blasthavers", "T. Post"]
|
|
|
|
description = "A stripped back crossplatform terminal library for manipulating terminals asynchronously."
|
|
|
|
repository = "https://git.blastmud.org/blasthavers/crossterm"
|
2018-01-19 09:10:44 +11:00
|
|
|
license = "MIT"
|
2020-05-19 02:51:51 +10:00
|
|
|
keywords = ["event", "color", "cli", "input", "terminal"]
|
2018-01-19 09:10:44 +11:00
|
|
|
exclude = ["target", "Cargo.lock"]
|
2018-05-20 22:44:14 +10:00
|
|
|
readme = "README.md"
|
2022-02-07 00:21:19 +11:00
|
|
|
edition = "2021"
|
2024-06-16 22:56:13 +10:00
|
|
|
rust-version = "1.63.0"
|
2019-11-05 04:43:30 +11:00
|
|
|
categories = ["command-line-interface", "command-line-utilities"]
|
2018-01-04 00:43:54 +11:00
|
|
|
|
2019-11-19 07:50:57 +11:00
|
|
|
[lib]
|
2024-08-11 21:34:30 +10:00
|
|
|
name = "minicrossterm"
|
2019-11-19 07:50:57 +11:00
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# Build documentation with all features -> EventStream is available
|
|
|
|
#
|
2019-11-19 07:50:57 +11:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# Features
|
|
|
|
#
|
2019-01-28 07:16:14 +11:00
|
|
|
[features]
|
2024-08-11 20:55:08 +10:00
|
|
|
default = ["bracketed-paste", "events"]
|
2024-05-06 02:47:20 +10:00
|
|
|
bracketed-paste = [
|
|
|
|
] # Enables triggering a `Event::Paste` when pasting text into the terminal.
|
|
|
|
events = [
|
|
|
|
] # Enables reading input/events from the system.
|
2023-04-08 23:34:23 +10:00
|
|
|
serde = ["dep:serde", "bitflags/serde"] # Enables 'serde' for various types.
|
2023-04-08 23:30:43 +10:00
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# Shared dependencies
|
|
|
|
#
|
2019-01-28 07:16:14 +11:00
|
|
|
[dependencies]
|
2024-05-06 02:47:20 +10:00
|
|
|
bitflags = { version = "2.3" }
|
2020-12-28 21:02:16 +11:00
|
|
|
|
|
|
|
# optional deps only added when requested
|
2020-03-25 08:00:23 +11:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2019-11-21 00:03:22 +11:00
|
|
|
|
|
|
|
#
|
|
|
|
# Dev dependencies (examples, ...)
|
|
|
|
#
|
2019-11-19 07:50:57 +11:00
|
|
|
[dev-dependencies]
|
2022-02-07 00:21:19 +11:00
|
|
|
serde_json = "1.0"
|
2023-08-05 23:36:42 +10:00
|
|
|
serial_test = "2.0.0"
|
2024-06-16 22:58:31 +10:00
|
|
|
temp-env = "0.3.6"
|