forked from googleapis/google-cloud-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.sidekick.toml
More file actions
82 lines (79 loc) · 4.49 KB
/
.sidekick.toml
File metadata and controls
82 lines (79 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[general]
language = 'rust'
specification-format = 'protobuf'
ignored-directories = [
# This is where Rust puts all the binaries.
"target",
# We are incubating a Dart SDK in google-cloud-rust, we want to ignore it.
"dart",
]
[source]
# By default only search in the `googleapis-root` directory.
roots = 'googleapis'
showcase-extracted-name = 'gapic-showcase-0.36.2'
showcase-root = 'https://github.com/googleapis/gapic-showcase/archive/refs/tags/v0.36.2.tar.gz'
showcase-sha256 = '0914bdbb088713aa087a53b355ff6631ad95e4769afd8bbd97d5d9e78d4cdf09'
googleapis-root = 'https://github.com/googleapis/googleapis/archive/4cf1f99cccc014627af5e8a6c0f80a3e6ec0d268.tar.gz'
googleapis-sha256 = '9dc4e5d8181c147fce64cdbc0aa4a8211f5dd5948a7bb4f2ddc51db9f35050fa'
protobuf-src-extracted-name = 'protobuf-29.3'
protobuf-src-root = 'https://github.com/protocolbuffers/protobuf/releases/download/v29.3/protobuf-29.3.tar.gz'
protobuf-src-sha256 = '008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e'
protobuf-src-subdir = 'src'
conformance-extracted-name = 'protobuf-29.3'
conformance-root = 'https://github.com/protocolbuffers/protobuf/releases/download/v29.3/protobuf-29.3.tar.gz'
conformance-sha256 = '008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e'
[codec]
# The default version for all crates. This can be overridden in the crate's
# `.sidekick.toml` file.
version = "0.4.5"
# The default release level for all crates.
release-level = "preview"
# Disable a number of warnings.
# TODO(#1285) - remove `redundant_explicit_links` workaround when no longer needed
# TODO(#742) - remove `broken_intro_doc_links` workaround when no longer needed
disabled-rustdoc-warnings = "redundant_explicit_links,broken_intra_doc_links"
# These are external (not part of `google-cloud-rust`) crates used by (nearly
# all) generated crates.
'package:bytes' = 'force-used=true,package=bytes'
'package:serde' = 'force-used=true,package=serde'
'package:serde_json' = 'force-used=true,package=serde_json'
'package:serde_with' = 'force-used=true,package=serde_with'
# These are used by crates with services.
'package:async-trait' = 'used-if=services,package=async-trait'
'package:gax' = 'used-if=services,package=google-cloud-gax'
'package:gaxi' = 'used-if=services,package=google-cloud-gax-internal,feature=_internal-http-client'
'package:lazy_static' = 'used-if=services,package=lazy_static'
'package:reqwest' = 'used-if=services,package=reqwest'
'package:tracing' = 'used-if=services,package=tracing'
# Only used if LROs are present
'package:lro' = 'used-if=lro,package=google-cloud-lro'
# Only used if a service has auto-populated fields
'package:uuid' = 'used-if=autopopulated,package=uuid'
# 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=google-cloud-wkt,source=google.protobuf'
# These are crates in `google-cloud-rust`. If not used, `sidekick` prunes them
# from the list of dependencies.
'package:api' = 'package=google-cloud-api,source=google.api'
'package:cloud_common' = 'package=google-cloud-common,source=google.cloud.common'
'package:gtype' = 'package=google-cloud-type,source=google.type'
'package:grafeas' = 'package=google-cloud-grafeas-v1,source=grafeas.v1'
'package:iam_v1' = 'package=google-cloud-iam-v1,source=google.iam.v1'
'package:location' = 'package=google-cloud-location,source=google.cloud.location'
'package:logging_type' = 'package=google-cloud-logging-type,source=google.logging.type'
'package:longrunning' = 'package=google-cloud-longrunning,source=google.longrunning'
'package:rpc' = 'package=google-cloud-rpc,source=google.rpc'
'package:rpc_context' = 'package=google-cloud-rpc-context,source=google.rpc.context'