Skip to content

Commit 856c673

Browse files
committed
fix: readme instructions
1 parent 26b5d7c commit 856c673

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,17 @@ try stream.push("Final message", true);
6262

6363
## 🔧 Installation
6464

65-
1. Add to your `build.zig.zon`:
65+
1. Fetch the dependency:
6666

67-
```zig
68-
.dependencies = .{
69-
.grpc_zig = .{
70-
.url = "https://github.com/ziglana/grpc-zig/archive/refs/tags/v0.1.0.tar.gz",
71-
},
72-
},
67+
```sh
68+
zig fetch --save "git+https://ziglana/grpc-zig/gRPC-zig#main"
7369
```
7470

7571
2. Add to your `build.zig`:
7672

7773
```zig
7874
const grpc_zig = b.dependency("grpc_zig", .{});
75+
7976
exe.addModule("grpc", grpc_zig.module("grpc"));
8077
```
8178

0 commit comments

Comments
 (0)