52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[package]
|
|
name = "minicrossterm"
|
|
version = "0.28.1"
|
|
authors = ["Blasthavers", "T. Post"]
|
|
description = "A stripped back crossplatform terminal library for manipulating terminals asynchronously."
|
|
repository = "https://git.blastmud.org/blasthavers/crossterm"
|
|
license = "MIT"
|
|
keywords = ["event", "color", "cli", "input", "terminal"]
|
|
exclude = ["target", "Cargo.lock"]
|
|
readme = "README.md"
|
|
edition = "2021"
|
|
rust-version = "1.63.0"
|
|
categories = ["command-line-interface", "command-line-utilities"]
|
|
|
|
[lib]
|
|
name = "minicrossterm"
|
|
path = "src/lib.rs"
|
|
|
|
#
|
|
# Build documentation with all features -> EventStream is available
|
|
#
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
#
|
|
# Features
|
|
#
|
|
[features]
|
|
default = ["bracketed-paste", "events"]
|
|
bracketed-paste = [
|
|
] # Enables triggering a `Event::Paste` when pasting text into the terminal.
|
|
events = [
|
|
] # Enables reading input/events from the system.
|
|
serde = ["dep:serde", "bitflags/serde"] # Enables 'serde' for various types.
|
|
|
|
#
|
|
# Shared dependencies
|
|
#
|
|
[dependencies]
|
|
bitflags = { version = "2.3" }
|
|
|
|
# optional deps only added when requested
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
|
|
#
|
|
# Dev dependencies (examples, ...)
|
|
#
|
|
[dev-dependencies]
|
|
serde_json = "1.0"
|
|
serial_test = "2.0.0"
|
|
temp-env = "0.3.6"
|