diff --git a/README.md b/README.md index 3d91bb3..e8e732e 100644 --- a/README.md +++ b/README.md @@ -149,43 +149,6 @@ Then, in your `build.zig`'s `build` function, add the following before From then on, you can use the zap package in your project. Check out the examples to see how to use zap. -### Please note: latest zig master - -Latest zig-master has problems handling the recent GitHub redirects to -`codeload.github.com`. Check if this issue still persists -[here](https://github.com/ziglang/zig/issues/15419). My work-around for this is -as follows: - -Change your `build.zig.zon` zap dependency to localhost: - -```zig -.{ - .name = "My example project", - .version = "0.0.1", - - .dependencies = .{ - // zap release-0.0.11-localhost - .zap = .{ - .url = "http://127.0.0.1:8000/release-0.0.11-localhost.tar.gz", - .hash = "122072531b7983335abffa3f9e66cc7f3153e4a697d3c332ed3811495eb1c75ab3f0", - } - } -} -``` - -```console -$ # get dependency required by zap -$ wget https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.7.tar.gz -$ # get zap itself -$ wget https://github.com/zigzap/zap/archive/refs/tags/release-0.0.11-localhost.tar.gz -$ # start a http server on port 8000 -$ python -m http.server -``` - -This hosts the downloaded dependencies locally on port 8000. After the first -`zig build`, you can stop the python http server with CTRL+C. - - ## Updating your project to the latest version of zap You can change the URL to zap in your `build.zig.zon` diff --git a/flake.lock b/flake.lock index 4e7907e..814eb82 100644 --- a/flake.lock +++ b/flake.lock @@ -166,11 +166,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1682165238, - "narHash": "sha256-k/ttwl+/IRIqgPGYXkUkCWqHnFiFRa+tNcWJ5MV0DdU=", + "lastModified": 1682641397, + "narHash": "sha256-gt/jGCv21Oju3R8t9uzq5c7l3EagYnWhKGlY+uNNtAM=", "owner": "mitchellh", "repo": "zig-overlay", - "rev": "1c98ac5290d53f177cd01ab02965742b36e1c5e6", + "rev": "9de49969d69441e2fb50ab891d6fbd0cff0f0b5c", "type": "github" }, "original": {