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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.zig-cache
zig-out
zig-pkg
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
| x86_64 | ✅ | ✅ |
| arm 64 | ✅ | ✅ |

| Refname | libGRPC version | Core version | Zig `0.16.x` | Zig `0.15.x` |
|-------------|-----------------------------|--------------|:------------:|:------------:|
| `grpc-1.80` | `v1.80.0-pre1` "glimmering" | `53.0.0` | ✅ | ✅ |
| `1.78.1+1` | `v1.78.1` "gusty" | `52.0.0` | ✅ | ✅ |
| `1.76.0+2` | `v1.76.0` "genuine" | `51.0.0` | ✅ | ✅ |
| Refname | libGRPC version | Core version | Zig `0.16.x` | Zig `0.15.x` |
|:-----------|:-----------------------|-------------:|:------------:|:------------:|
| `1.80.0` | `v1.80.0` "glimmering" | `53.0.0` | ✅ | ✅ |
| `1.78.1+1` | `v1.78.1` "gusty" | `52.0.0` | ✅ | ✅ |
| `1.76.0+2` | `v1.76.0` "genuine" | `51.0.0` | ✅ | ✅ |

## Use

Expand Down Expand Up @@ -51,7 +51,7 @@ exe.linkLibrary(grpc.artifact("grpc"));
When bumping upstream version, also bump dependencies. Example:

```shell
zig fetch --save=upstream git+https://github.com/grpc/grpc#v1.78.1
zig fetch --save=upstream git+https://github.com/grpc/grpc#v1.80.0
zig fetch --save=abseil git+https://github.com/abseil/abseil-cpp#20250512.1
zig fetch --save=re2 git+https://github.com/google/re2#2022-04-01
zig fetch --save=boringssl git+https://github.com/google/boringssl#c63fadbde60a2224c22189d14c4001bbd2a3a629
Expand Down
6 changes: 3 additions & 3 deletions build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = .grpc,
.version = "1.78.1",
.version = "1.80.0",
.fingerprint = 0x2b44e58c15cd55d6,
.minimum_zig_version = "0.15.0",

Expand All @@ -14,8 +14,8 @@

.dependencies = .{
.upstream = .{
.url = "git+https://github.com/grpc/grpc?ref=v1.78.1#5b6492ea90b2b867a6adad1b10a6edda28e860d1",
.hash = "N-V-__8AAK_BgwSwilPqwG43xFZu3kNLHJFLAaRu7elvHcPA",
.url = "git+https://github.com/grpc/grpc?ref=v1.80.0#f5e2d6e856176c2f6b7691032adfefe21e5f64c1",
.hash = "N-V-__8AANNYpwQkP4eQOlrt_DarfPhC7PhWauwIGOF5Tb2k",
},
.abseil = .{
.url = "git+https://github.com/abseil/abseil-cpp?ref=20250512.1#76bb24329e8bf5f39704eb10d21b9a80befa7c81",
Expand Down
20 changes: 17 additions & 3 deletions generated.zig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub const public_headers_c = .{
"include/grpc/compression.h",
"include/grpc/create_channel_from_endpoint.h",
"include/grpc/credentials.h",
"include/grpc/credentials_cpp.h",
"include/grpc/event_engine/endpoint_config.h",
"include/grpc/event_engine/event_engine.h",
"include/grpc/event_engine/extensible.h",
Expand Down Expand Up @@ -41,6 +42,7 @@ pub const public_headers_c = .{
"include/grpc/impl/slice_type.h",
"include/grpc/load_reporting.h",
"include/grpc/passive_listener.h",
"include/grpc/private_key_signer.h",
"include/grpc/slice.h",
"include/grpc/slice_buffer.h",
"include/grpc/status.h",
Expand Down Expand Up @@ -319,6 +321,7 @@ pub const libgrpc_src_core_cpp = .{
"client_channel/subchannel.cc",
"client_channel/subchannel_pool_interface.cc",
"client_channel/subchannel_stream_client.cc",
"client_channel/subchannel_stream_limiter.cc",
"config/config_vars.cc",
"config/config_vars_non_generated.cc",
"config/core_configuration.cc",
Expand Down Expand Up @@ -435,10 +438,10 @@ pub const libgrpc_src_core_cpp = .{
"ext/transport/chttp2/transport/ping_callbacks.cc",
"ext/transport/chttp2/transport/ping_promise.cc",
"ext/transport/chttp2/transport/ping_rate_policy.cc",
"ext/transport/chttp2/transport/security_frame.cc",
"ext/transport/chttp2/transport/stream_lists.cc",
"ext/transport/chttp2/transport/transport_common.cc",
"ext/transport/chttp2/transport/varint.cc",
"ext/transport/chttp2/transport/write_cycle.cc",
"ext/transport/chttp2/transport/write_size_policy.cc",
"ext/transport/chttp2/transport/writing.cc",
"ext/transport/inproc/inproc_transport.cc",
Expand All @@ -450,11 +453,10 @@ pub const libgrpc_src_core_cpp = .{
"handshaker/endpoint_info/endpoint_info_handshaker.cc",
"handshaker/handshaker.cc",
"handshaker/handshaker_registry.cc",
"handshaker/http_connect/http_connect_handshaker.cc",
"handshaker/http_connect/http_connect_client_handshaker.cc",
"handshaker/http_connect/http_proxy_mapper.cc",
"handshaker/http_connect/xds_http_proxy_mapper.cc",
"handshaker/proxy_mapper_registry.cc",
"handshaker/security/legacy_secure_endpoint.cc",
"handshaker/security/pipelined_secure_endpoint.cc",
"handshaker/security/secure_endpoint.cc",
"handshaker/security/security_handshaker.cc",
Expand Down Expand Up @@ -842,6 +844,7 @@ pub const libgrpc_src_core_cpp = .{
"xds/grpc/xds_endpoint_parser.cc",
"xds/grpc/xds_health_status.cc",
"xds/grpc/xds_http_fault_filter.cc",
"xds/grpc/xds_http_filter.cc",
"xds/grpc/xds_http_filter_registry.cc",
"xds/grpc/xds_http_gcp_authn_filter.cc",
"xds/grpc/xds_http_rbac_filter.cc",
Expand All @@ -868,6 +871,8 @@ pub const libgrpc_src_core_cpp = .{
"xds/xds_client/xds_client.cc",
};
pub const libgrpc_src_core_c = .{
"ext/upb-gen/cel/expr/checked.upb_minitable.c",
"ext/upb-gen/cel/expr/syntax.upb_minitable.c",
"ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c",
"ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c",
"ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c",
Expand All @@ -888,9 +893,11 @@ pub const libgrpc_src_core_c = .{
"ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c",
"ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c",
"ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c",
"ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.c",
"ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c",
"ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c",
"ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c",
"ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.c",
"ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c",
"ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c",
"ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c",
Expand Down Expand Up @@ -941,6 +948,9 @@ pub const libgrpc_src_core_c = .{
"ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c",
"ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c",
"ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c",
"ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.c",
"ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.c",
"ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.c",
"ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c",
"ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c",
"ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c",
Expand Down Expand Up @@ -1040,6 +1050,8 @@ pub const libgrpc_src_core_c = .{
"ext/upb-gen/xds/type/v3/cel.upb_minitable.c",
"ext/upb-gen/xds/type/v3/range.upb_minitable.c",
"ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c",
"ext/upbdefs-gen/cel/expr/checked.upbdefs.c",
"ext/upbdefs-gen/cel/expr/syntax.upbdefs.c",
"ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c",
"ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c",
"ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c",
Expand All @@ -1060,9 +1072,11 @@ pub const libgrpc_src_core_c = .{
"ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c",
"ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c",
"ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c",
"ext/upbdefs-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upbdefs.c",
"ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c",
"ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c",
"ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c",
"ext/upbdefs-gen/envoy/config/core/v3/cel.upbdefs.c",
"ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c",
"ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c",
"ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c",
Expand Down
Loading