Skip to content

Commit 1839bc9

Browse files
committed
generate docs for rust types
1 parent 1c8fb6c commit 1839bc9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/publish-rust-lazer-publisher-sdk.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
steps:
1313
- name: Checkout sources
1414
uses: actions/checkout@v2
15+
- name: Install Protoc
16+
uses: arduino/setup-protoc@v3
17+
with:
18+
version: "30.2"
1519

1620
- run: ./publish.sh
1721
env:

lazer/publisher_sdk/rust/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ fn main() -> Result<()> {
88
println!("cargo:rerun-if-changed=../proto/");
99

1010
protobuf_codegen::Codegen::new()
11-
.pure()
1211
.include("../proto")
1312
.input("../proto/publisher_update.proto")
1413
.input("../proto/pyth_lazer_transaction.proto")
1514
.input("../proto/transaction_envelope.proto")
1615
.cargo_out_dir("protobuf")
16+
.protoc_extra_arg("--include_source_info")
1717
.run_from_script();
1818

1919
Ok(())

0 commit comments

Comments
 (0)