We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74a5941 commit 494f9fbCopy full SHA for 494f9fb
lazer/publisher_sdk/rust/publish.sh
@@ -16,7 +16,13 @@ mv "${PACKAGE_DIR}/build.rs"
16
17
echo "updating lib.rs to export local protobuf files"
18
cat > "${PACKAGE_DIR}/src/lib.rs" << EOF
19
-pub mod protobuf;
+pub mod transaction {
20
+ pub use crate::protobuf::pyth_lazer_transaction::*;
21
+}
22
+pub mod publisher_update {
23
+ pub use crate::protobuf::publisher_update::*;
24
25
+mod protobuf;
26
EOF
27
28
echo "removing build spec from Cargo.toml"
lazer/publisher_sdk/rust/src/lib.rs
@@ -1 +1,7 @@
1
2
3
4
5
6
7
0 commit comments