[package]
edition = "2021"
rust-version = "1.79.0"
name = "clearscreen"
version = "4.0.5"
authors = ["Félix Saparelli <felix@passcod.name>"]
build = false
exclude = [
"/bin",
"/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform terminal screen clearing"
homepage = "https://github.com/watchexec/clearscreen"
documentation = "https://github.com/watchexec/clearscreen"
readme = "README.md"
keywords = [
"clear",
"cls",
"cli",
"terminal",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/watchexec/clearscreen"
[features]
windows-console = []
[lib]
name = "clearscreen"
path = "src/lib.rs"
[[example]]
name = "clscli"
path = "examples/clscli.rs"
[[test]]
name = "default"
path = "tests/default.rs"
[[test]]
name = "platformed"
path = "tests/platformed.rs"
[dependencies.terminfo]
version = "0.9.0"
[dependencies.thiserror]
version = "2.0.11"
[dependencies.which]
version = "8.0.0"
[target."cfg(unix)".dependencies.nix]
version = "0.31.1"
features = [
"fs",
"term",
]
default-features = false
[target."cfg(windows)".dependencies.windows-sys]
version = ">=0.59, <=0.61"
features = [
"Win32_Foundation",
"Win32_System_Console",
"Win32_System_SystemInformation",
"Win32_System_SystemServices",
"Win32_NetworkManagement_NetManagement",
]
default-features = false