Commit 7241f53
committed
bump(grpc): 三个描述符指向 v1.83.0-3 —— codegen 工具链由 grpc 包交给用户
grpc-m v1.83.0-3 起,使用者写一条依赖而不是四条:
[dependencies.grpc]
grpc = { version = "1.83.0", features = ["codegen"] }
import mcpp; import grpcgen;
int main() { return grpcgen::generate_all() ? 0 : 1; }
grpc 的 [feature-deps.codegen] 用 reexport = true 把 protoc、grpc_cpp_plugin
与 grpcgen 规则模块交给消费者;generate_all() 借 rerun_if_changed_glob 扫
proto/。两者都需要 mcpp 2026.8.6.2(mcpp#359),CI pin 同步提到该版本。
index.toml 的 min_mcpp **不动**。旧客户端仍能加载 grpc 的 manifest —— 2026.8.6.2
起不认识的依赖键降级而非让整份加载失败 —— 只是拿不到工具链,且 grpcgen 会明确
说出来。为一个包抬全局下限正是 mcpp#349 修掉的那个错误。
tarball 已核验:GitHub 与 GitCode 两端同为
9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f(4073680 字节),
CN 那份是本地上传后回探下载重算得到的,不是读 sidecar。
tests/examples/grpc-codegen 成员单独开 PR:它要证明的是「reexport 经由**已发布**
索引到达消费者」,而在本 PR 的 CI 里 mcpplibs.grpcgen 仍解析到线上的 -2(本仓库
的 [indices] 每个成员只能重定向一个命名空间 —— mcpp#238 / xlings#374)。先发布,
再验证。1 parent 424c323 commit 7241f53
4 files changed
Lines changed: 25 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments