From 521cb666f2251161a1ad48c9c95fd6c4b4c601f7 Mon Sep 17 00:00:00 2001 From: Carlos O'Ryan Date: Sat, 25 Jan 2025 10:58:44 -0500 Subject: [PATCH] fix: configure sidekick to always use `wkt` --- .sidekick.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.sidekick.toml b/.sidekick.toml index de82031cc..01d358713 100644 --- a/.sidekick.toml +++ b/.sidekick.toml @@ -41,11 +41,13 @@ version = "0.1.0" 'package:gax' = 'used-if=services,package=gcp-sdk-gax,path=src/gax,feature=unstable-sdk-client,version=0.1' # Only used if LROs are present 'package:lro' = 'used-if=lro,package=gcp-sdk-lro,path=src/lro,version=0.0' +# I (coryan@) got lazy, it is tedious to auto-detect if this is used in `sidekick`. +# OTOH, the only case where this is not used is a crate without any messages, i.e., just enums. +'package:wkt' = 'force-used=true,package=gcp-sdk-wkt,path=src/wkt,source=google.protobuf,version=0.1' # These are crates in `google-cloud-rust`. If not used, `sidekick` prunes them # from the list of depedencies. 'package:api' = 'package=gcp-sdk-api,source=google.api,path=src/generated/api,version=0.1' 'package:gtype' = 'package=gcp-sdk-type,source=google.type,path=src/generated/type,version=0.1' -'package:wkt' = 'package=gcp-sdk-wkt,path=src/wkt,source=google.protobuf,version=0.1' 'package:iam_v1' = 'package=gcp-sdk-iam-v1,source=google.iam.v1,path=src/generated/iam/v1,version=0.1' 'package:location' = 'package=gcp-sdk-location,source=google.cloud.location,path=src/generated/cloud/location,version=0.1' 'package:longrunning' = 'package=gcp-sdk-longrunning,source=google.longrunning,path=src/generated/longrunning,version=0.1'