3 Commits d4bb48cd99 ... 76f1849188

Author SHA1 Message Date
  Michael Buesch 76f1849188 Update tokio. The version has been yanked. 3 months ago
  Michael Buesch 90d4e93085 server: Abort compilation with a better error message on non-Linux 3 months ago
  Michael Buesch 0fa2d1e52e Add MacOS to README.md 3 months ago
4 changed files with 9 additions and 2 deletions
  1. 2 2
      Cargo.lock
  2. 1 0
      README.md
  3. 3 0
      letmein-systemd/src/lib.rs
  4. 3 0
      letmeind/src/main.rs

+ 2 - 2
Cargo.lock

@@ -911,9 +911,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
 
 [[package]]
 name = "tokio"
-version = "1.39.0"
+version = "1.39.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c3318c4fc7126c339a40fbc025927d0328ca32259f68bfe4321660644c1f626"
+checksum = "d040ac2b29ab03b09d4129c2f5bbd012a3ac2f79d38ff506a4bf8dd34b0eac8a"
 dependencies = [
  "backtrace",
  "bytes",

+ 1 - 0
README.md

@@ -183,6 +183,7 @@ Tested platforms are:
 - Linux
 - Android, under [Termux](https://termux.dev/)
 - Windows
+- MacOS (build tested only)
 
 ## Internals and design goals
 

+ 3 - 0
letmein-systemd/src/lib.rs

@@ -8,6 +8,9 @@
 
 //! This crate is an abstraction of the `systemd` interfaces needed by `letmein`.
 
+#[cfg(not(target_os = "linux"))]
+std::compile_error!("letmeind server and letmein-systemd do not support non-Linux platforms.");
+
 use anyhow as ah;
 
 #[cfg(feature = "tcp")]

+ 3 - 0
letmeind/src/main.rs

@@ -8,6 +8,9 @@
 
 #![forbid(unsafe_code)]
 
+#[cfg(not(target_os = "linux"))]
+std::compile_error!("letmeind server and letmein-systemd do not support non-Linux platforms.");
+
 mod firewall;
 mod processor;
 mod server;