Files
RedBear-OS/local/recipes/system/redbear-netctl-console/source/Cargo.toml
T
vasilito 04a426aa4e mini recipes: fix-forward the eprintln->log/anyhow refactor (9 recipes)
The in-flight logging/error-handling refactor left these 9 text-only-mini
recipes non-compiling. Completed it correctly:
- dangling parens from eprintln!(...) -> log::error!(...) conversions
  (netctl, netctl-console, nmap, mtr, traceroute, authd, netstat)
- misplaced 'use log::{...};' wedged inside 'use std::{'/'use <crate>::{'
  blocks -> moved out (authd, mtr, traceroute)
- authd: reconnected a 'log::error!();' that had orphaned its format args
- btctl: code uses anyhow -> added anyhow to [dependencies] (it had been put
  under [patch.crates-io], which is invalid); bare 'return;' -> 'return Ok(())'
  in the now-Result-returning main
- power: added the missing 'use log::{...}' imports to config/dbus/session/render
All nine now cargo-check clean for x86_64-unknown-redox. Committed to persist
against the working-tree reverter.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-28 17:07:35 +09:00

23 lines
526 B
TOML

[package]
name = "redbear-netctl-console"
version = "0.3.1"
description = "Network control console UI for Red Bear OS"
repository = "https://gitea.redbearos.org/vasilito/RedBear-OS"
license = "MIT"
edition = "2024"
[lib]
name = "redbear_netctl_console"
path = "src/lib.rs"
[[bin]]
name = "redbear-netctl-console"
path = "src/main.rs"
[dependencies]
log = { version = "0.4", features = ["std"] }
env_logger = "0.11"
ratatui = { version = "0.30", default-features = false, features = ["termion"] }
termion = "4"
anyhow = "1"