Skip to content

gproxy v2.1.6

Choose a tag to compare

@LeenHawk LeenHawk released this 27 Jul 14:29

v2.1.6

Publishes the reusable protocol, transform, and tokenize libraries to crates.io under MIT, and automates that publish as part of the release tag. No runtime behaviour changes.

English

Added

  • Rust libraries on crates.io. gproxy-protocol (OpenAI/Claude/Gemini wire types, operation taxonomy, endpoint metadata), gproxy-transform (pairwise request/response/stream conversion between those three APIs), and gproxy-tokenize (offline token counting via tiktoken, Hugging Face vocabularies, and a character estimate) are now published, each with its own README and documented feature set. gproxy-protocol was previously stuck at 2.0.15; all three now track the release version.
  • Automated crate publishing. Pushing a version tag publishes the three libraries after the native build matrix succeeds, so a version that fails to compile can never reach the registry. The publish is idempotent — versions already on the index are skipped — and every pull request now packages the same crates so broken publish metadata surfaces in review.

Changed

  • Library licensing. gproxy-transform and gproxy-tokenize are relicensed from AGPL-3.0-or-later to MIT, matching gproxy-protocol, so they can be consumed as ordinary libraries. The gproxy application itself remains AGPL-3.0-or-later and is not published to crates.io.
  • Dependencies. Routine transitive updates to webpki-roots, webpki-root-certs, tokio-stream, time, and foreign-types-macros.

简体中文

新增

  • Rust 库发布到 crates.io。 gproxy-protocol(OpenAI/Claude/Gemini Wire Types、Operation Taxonomy、Endpoint Metadata)、gproxy-transform(这三套 API 之间的成对请求/响应/流式转换)与 gproxy-tokenize(基于 tiktoken、Hugging Face 词表和字符估算的离线 Token 计数)现已发布,各自带独立 README 与 Feature 说明。gproxy-protocol 此前停留在 2.0.15,现在三者统一跟随 Release 版本。
  • Crate 发布自动化。 推送版本 Tag 后,会在 Native 构建矩阵全部通过之后发布这三个库,编译不通过的版本不会进入 Registry。发布过程幂等 —— Registry 上已存在的版本会跳过;同时每个 Pull Request 都会打包同样的 Crate,发布元数据的问题会在评审阶段暴露。

调整

  • 库许可证。 gproxy-transformgproxy-tokenize 由 AGPL-3.0-or-later 改为 MIT,与 gproxy-protocol 对齐,可作为普通库引用。gproxy 应用本体仍为 AGPL-3.0-or-later,且不发布到 crates.io。
  • 依赖。 例行更新 webpki-rootswebpki-root-certstokio-streamtimeforeign-types-macros