-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuf.gen.yaml
54 lines (54 loc) · 2.67 KB
/
buf.gen.yaml
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
version: v2
managed:
enabled: true
disable:
# Disables all go_package changes for this module only
- file_option: go_package
module: buf.build/googleapis/googleapis
override:
# Sets default go_package_prefix for all inputs
- file_option: go_package_prefix
value: github.com/delta-incubator/delta-sharing-rs/go
plugins:
- remote: buf.build/community/neoeinstein-prost:v0.4.0
out: delta-sharing/common/src/gen
opt:
- bytes=.
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- file_descriptor_set=false
- type_attribute=.delta_sharing.internal.Resource.resource=#[derive(::strum::EnumDiscriminants)]
- type_attribute=.delta_sharing.internal.Resource.resource=#[strum_discriminants(name(ObjectLabel))]
- type_attribute=.delta_sharing.internal.Resource.resource=#[strum_discriminants(derive(::strum::AsRefStr\, ::strum::Display\, ::strum::EnumIter\, ::strum::EnumString)\, strum(serialize_all = "snake_case"))]
- type_attribute=.delta_sharing.internal.Resource.resource=#[strum_discriminants(derive(::serde::Serialize\, ::serde::Deserialize\, Hash))]
- type_attribute=.delta_sharing.internal.Resource.resource=#[strum_discriminants(serde(rename_all = "snake_case"))]
- type_attribute=.delta_sharing.internal.Resource.resource=#[strum_discriminants(strum(ascii_case_insensitive))]
- type_attribute=.delta_sharing.internal.Resource.resource=#[strum_discriminants(cfg_attr(feature = "sqlx"\, derive(::sqlx::Type)))]
- type_attribute=.delta_sharing.internal.Resource.resource=#[strum_discriminants(cfg_attr(feature = "sqlx"\, sqlx(type_name = "object_label"\, rename_all = "snake_case")))]
- remote: buf.build/community/neoeinstein-prost-serde:v0.3.1
out: delta-sharing/common/src/gen
opt:
# useful to build reusable extractors for axum
- ignore_unknown_fields=true
- remote: buf.build/community/neoeinstein-tonic:v0.4.1
out: delta-sharing/common/src/gen
opt:
- no_client=true
- extern_path=.google.protobuf=::pbjson_types
- no_include=true
- remote: buf.build/community/neoeinstein-prost:v0.4.0
out: delta-sharing/client/src/gen
opt:
- bytes=.
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- file_descriptor_set=false
- remote: buf.build/community/neoeinstein-prost-serde:v0.3.1
out: delta-sharing/client/src/gen
- remote: buf.build/community/neoeinstein-tonic:v0.4.1
out: delta-sharing/client/src/gen
opt:
- no_server=true
- extern_path=.google.protobuf=::pbjson_types
- remote: buf.build/community/google-gnostic-openapi:v0.7.0
out: delta-sharing/server