pkg.soopen package index

brew / 排名 2789

使用 Homebrew 安装 protoc-gen-grpc-swift

查看 protoc-gen-grpc-swift 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install protoc-gen-grpc-swift

local Homebrew formula metadata

概览

软件包摘要

Protoc plugin for generating gRPC Swift stubs

命令和别名

  • protoc-gen-grpc-swift-2

历史

项目历史与用法

protoc-gen-grpc-swift is the gRPC Swift protoc plugin for generating typed Swift client and server stubs from protobuf service declarations. The packaged executable is protoc-gen-grpc-swift-2 and is paired with SwiftProtobuf-generated message types.

项目历史

The first grpc-swift repository combined a Swift gRPC runtime with its code generator. Its official README now identifies that line as gRPC Swift 1 in maintenance mode and points users to gRPC Swift 2.

The grpc-swift-protobuf project provides the Protocol Buffers integration and protoc code generator used by the current gRPC Swift generation workflow.

采用历史

Swift support became part of gRPC's language ecosystem for Apple-platform and server-side Swift development. The generator is used with SwiftProtobuf, which supplies protobuf message generation and runtime support.

The current Homebrew record exposes an executable named protoc-gen-grpc-swift-2, reflecting the second-generation toolchain. Package-manager installation gives developers a host binary that can be integrated into protoc-based builds.

使用方式

Install the generator, ensure protoc can locate the protoc-gen-grpc-swift-2 executable or pass its path explicitly, and run it alongside SwiftProtobuf generation for schemas containing services. Compile the generated sources with the corresponding gRPC Swift and SwiftProtobuf libraries. No persistent configuration or credentials file is documented for the generator.

为什么软件包爱好者会关心

The package highlights the generator/runtime split common to protobuf ecosystems: SwiftProtobuf owns message serialization, while grpc-swift-protobuf generates RPC-specific types layered on the gRPC Swift runtime.

The executable's -2 suffix is operationally important for build scripts and distinguishes the current generator line from the earlier gRPC Swift 1 tooling.

时间线

  • gRPC Swift 1 established a combined Swift runtime and code-generation project.
  • The first-generation grpc-swift line entered maintenance mode as gRPC Swift 2 became current.
  • The current protobuf integration is maintained in grpc-swift-protobuf and packaged with the protoc-gen-grpc-swift-2 executable.

Related projects

  • SwiftProtobuf provides protoc-gen-swift and the protobuf runtime used by generated message types.
  • gRPC Swift provides the RPC runtime consumed by generated clients and servers.
  • protoc invokes the gRPC Swift plugin when compiling protobuf service definitions.

安全态势

尚未找到受保护工具覆盖

没有找到 protoc-gen-grpc-swift 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
protoc-gen-grpc-swift-2cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本2.4.1
管理器更新时间2026-09-13
本地数据OK
上游当前
检测到的最新版本2.4.1

https://github.com/grpc/grpc-swift-protobuf

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:protoc-gen-grpc-swift
版本2.4.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/protoc-gen-grpc-swift
主页https://github.com/grpc/grpc-swift-protobuf
仓库https://github.com/grpc/grpc-swift-protobuf
许可证Apache-2.0
源码归档https://github.com/grpc/grpc-swift-protobuf/archive/refs/tags/2.4.1.tar.gz
最后更新2026-09-13T12:31:36Z
Pulseupdated
依赖protobuf, swift-protobuf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprotoc-gen-grpc-swift
Version Scheme1
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation