From 8ba5aed14eaa47a6ad110c390b60c2f972ed0e77 Mon Sep 17 00:00:00 2001 From: Dave Taht Date: Thu, 9 Feb 2023 15:21:02 +0000 Subject: [PATCH] lqusers: change name of web admin tool from webusers to lqusers lqusers is consistent with the prefix used elsewhere in LibreQos. Something one character shorter than that came to mind, but I resisted. --- src/build_rust.sh | 2 +- src/rust/Cargo.lock | 18 +++++++++--------- src/rust/Cargo.toml | 4 ++-- src/rust/{webusers => lqusers}/Cargo.toml | 2 +- src/rust/{webusers => lqusers}/src/main.rs | 0 5 files changed, 13 insertions(+), 13 deletions(-) rename src/rust/{webusers => lqusers}/Cargo.toml (90%) rename src/rust/{webusers => lqusers}/src/main.rs (100%) diff --git a/src/build_rust.sh b/src/build_rust.sh index 4dacd7a5..1fff200e 100755 --- a/src/build_rust.sh +++ b/src/build_rust.sh @@ -24,7 +24,7 @@ rustup update # Start building echo "Please wait while the system is compiled. Service will not be interrupted during this stage." -PROGS="lqosd lqtop xdp_iphash_to_cpu_cmdline xdp_pping lqos_node_manager webusers" +PROGS="lqosd lqtop xdp_iphash_to_cpu_cmdline xdp_pping lqos_node_manager lqusers" mkdir -p bin/static pushd rust > /dev/null #cargo clean diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index f6aa14c2..139b4109 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -1462,6 +1462,15 @@ dependencies = [ "tui", ] +[[package]] +name = "lqusers" +version = "0.1.0" +dependencies = [ + "anyhow", + "clap 4.1.4", + "lqos_config", +] + [[package]] name = "matchers" version = "0.1.0" @@ -2879,15 +2888,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webusers" -version = "0.1.0" -dependencies = [ - "anyhow", - "clap 4.1.4", - "lqos_config", -] - [[package]] name = "which" version = "4.4.0" diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index 9a033490..5fbe8246 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -20,6 +20,6 @@ members = [ "xdp_pping", # Rust port of cpumap's `xdp_pping` tool, for compatibility "lqos_node_manager", # A lightweight web interface for management and local monitoring "lqos_python", # Python bindings for using the Rust bus directly - "webusers", # CLI control for managing the web user list + "lqusers", # CLI control for managing the web user list "lqos_utils", # A collection of macros and helpers we find useful -] \ No newline at end of file +] diff --git a/src/rust/webusers/Cargo.toml b/src/rust/lqusers/Cargo.toml similarity index 90% rename from src/rust/webusers/Cargo.toml rename to src/rust/lqusers/Cargo.toml index a20bef3f..994bc026 100644 --- a/src/rust/webusers/Cargo.toml +++ b/src/rust/lqusers/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "webusers" +name = "lqusers" version = "0.1.0" edition = "2021" diff --git a/src/rust/webusers/src/main.rs b/src/rust/lqusers/src/main.rs similarity index 100% rename from src/rust/webusers/src/main.rs rename to src/rust/lqusers/src/main.rs