Skip to content

Commit 3e0949b

Browse files
committed
update buf.plugin.yaml for buffa
1 parent 2091d0a commit 3e0949b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎plugins/anthropics/buffa/v0.7.1/buf.plugin.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spdx_license_id: Apache-2.0
99
license_url: https://github.com/anthropics/buffa/blob/v0.7.1/LICENSE
1010
registry:
1111
cargo:
12-
rust_version: "1.85"
12+
rust_version: "1.87" # https://github.com/anthropics/buffa/blob/v0.7.1/Cargo.toml#L30
1313
deps:
1414
# Runtime: wire format, Message trait, view types, JSON helpers.
1515
# https://github.com/anthropics/buffa/blob/v0.7.1/buffa/Cargo.toml
@@ -18,6 +18,7 @@ registry:
1818
default_features: true
1919
features:
2020
- json
21+
- text
2122
# Well-known types (Timestamp, Duration, Any, Struct, etc.).
2223
# Generated code references these via the auto-injected
2324
# extern_path mapping `.google.protobuf` -> `::buffa_types::google::protobuf`.
@@ -32,6 +33,7 @@ registry:
3233
features:
3334
- json
3435
- views
36+
- text
3537
# Generated code derives `::serde::Serialize` / `::serde::Deserialize`
3638
# directly when json=true, so serde must be a direct dep.
3739
- name: "serde"
@@ -43,6 +45,7 @@ registry:
4345
# Enable serde derives + proto3 JSON mapping helpers. Required for
4446
# downstream plugins that need the Connect protocol's JSON codec.
4547
- json=true
48+
- text=true
4649
# Zero-copy view types. Default, but explicit for clarity.
4750
- views=true
4851
# Emit one `<dotted.package>.rs` per proto package instead of one

0 commit comments

Comments
 (0)