summaryrefslogtreecommitdiffstats
path: root/systeroid-tui/Cargo.toml
blob: 7aa6c198ae5960239a03b4d784717b2a68abde43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "systeroid-tui"
version = "0.2.1" # managed by release.sh
description = "A terminal user interface for managing kernel parameters"
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
license = "MIT OR Apache-2.0"
readme = "../README.md"
homepage = "https://github.com/orhun/systeroid"
repository = "https://github.com/orhun/systeroid"
keywords = ["linux", "kernel", "parameter", "sysctl", "tui"]
categories = ["command-line-utilities"]
edition = "2021"
rust-version = "1.57.0"

[features]
# clipboard support is enabled as default
default = ["clipboard"]
clipboard = ["copypasta-ext"]

[dependencies]
termion = "1.5.6"
unicode-width = "0.1.9"
thiserror = "1.0.32"
getopts = "0.2.21"
copypasta-ext = { version = "0.3.7", optional = true }
colorsys = "0.6.6"

[dependencies.systeroid-core]
version = "0.2.1" # managed by release.sh
path = "../systeroid-core"

[dependencies.tui]
version = "0.19.0"
default-features = false
features = ["termion"]

# metadata for cargo-binstall to get the right artifacts
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/systeroid-{ version }-{ target }.{ archive-format }"
bin-dir = "systeroid-{ version }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"