systeroid/systeroid-tui/Cargo.toml
Orhun Parmaksız 3ace96419c
feat(tui): improve logging (#83)
* chore(deps): add logging dependencies

* refactor(cli): use log functions for logging

* refactor(core): use log functions for logging

* feat(tui): add logging for tui

* feat(args): add an option for setting the log file for TUI logs

* chore(core): add trace logging

* fix(cli): make log level configurable via RUST_LOG

* chore(log): improve logging

* chore(tui): add logs to specific events

* style(tui): update the colors for the logger widget

* feat(log): allow setting the log level for tui

* chore(config)!: remove the verbose option

* fix(test): update render tui test

* chore(tui): update MSRV for tui

* chore(audit): add configuration file for cargo-audit

* chore: Bump the Rust version in Dockerfile

* feat(log): add target to logs

* docs(readme): update documentation about logging
2023-04-24 22:08:43 +02:00

49 lines
1.3 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "systeroid-tui"
version = "0.3.2" # 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.68.2"
[features]
# clipboard support is enabled as default
default = ["clipboard"]
clipboard = ["copypasta-ext"]
[dependencies]
termion = "2.0.1"
unicode-width = "0.1.10"
thiserror = "1.0.40"
getopts = "0.2.21"
copypasta-ext = { version = "0.4.4", optional = true }
colorsys = "0.6.7"
log.workspace = true
[dependencies.systeroid-core]
version = "0.3.2" # managed by release.sh
path = "../systeroid-core"
[dependencies.tui]
package = "ratatui"
version = "0.20.1"
default-features = false
features = ["termion"]
[dependencies.tui-logger]
version = "0.9.0"
default-features = false
features = ["ratatui-support"]
# 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"