lazydns 0.3.20

A light and fast DNS server/forwarder implementation in Rust
Documentation
<!doctype html>
<html>
  <head>
    <title>Theme Toggle Test</title>
    <script>
      // Test the theme toggle logic
      console.log("=== Theme Toggle Test ===");

      // Simulate the store
      let isDark = localStorage.getItem("theme") === "dark" || true;
      console.log("Initial isDark:", isDark);

      function toggle() {
        isDark = !isDark;
        localStorage.setItem("theme", isDark ? "dark" : "light");
        console.log("After toggle, isDark:", isDark);
      }

      toggle();
      console.log("After first toggle:", localStorage.getItem("theme"));
      toggle();
      console.log("After second toggle:", localStorage.getItem("theme"));
    </script>
  </head>
  <body>
    <h1>Check browser console for test output</h1>
  </body>
</html>