04a426aa4e
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>
23 lines
526 B
TOML
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"
|