Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Cache system dependencies
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: wireguard-tools
version: 1.0

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2

Expand All @@ -79,12 +73,6 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Cache system dependencies
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: wireguard-tools
version: 1.0

- name: Add musl target
run: rustup target add x86_64-unknown-linux-musl

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wg-tui"
version = "0.1.14"
version = "0.1.15"
edition = "2024"
description = "A terminal user interface for managing WireGuard VPN tunnels"
repository = "https://github.com/excoffierleonard/wg-tui"
Expand Down
6 changes: 3 additions & 3 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ compile_error!("wg-tui only supports Linux");
use std::process::Command;

#[cfg(target_os = "linux")]
const REQUIRED_COMMANDS: &[&str] = &["wg", "wg-quick"];
const REQUIRED_COMMANDS: &[&str] = &["wg", "wg-quick", "ip"];

#[cfg(target_os = "linux")]
fn command_exists(cmd: &str) -> bool {
Expand All @@ -31,8 +31,8 @@ fn main() {

if !missing.is_empty() {
let names: Vec<&str> = missing.iter().copied().copied().collect();
panic!(
"Missing system dependencies: {}. Please install wireguard-tools.",
println!(
"cargo:warning=Missing system dependencies: {}. Please install wireguard-tools.",
names.join(", ")
);
}
Expand Down