Skip to content

Commit

Permalink
sdk: Add macro to get Cargo.toml package metadata (solana-labs#1464)
Browse files Browse the repository at this point in the history
* sdk: Add macro to get Cargo.toml package metadata

* Update example to avoid println

* Update example

* Update sbf lockfile
  • Loading branch information
joncinque authored May 23, 2024
1 parent 1c0bd2d commit 097aa8e
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 50 additions & 3 deletions programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sdk/macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ proc-macro2 = { workspace = true }
quote = { workspace = true }
rustversion = { workspace = true }
syn = { workspace = true, features = ["full"] }
toml = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Loading

0 comments on commit 097aa8e

Please sign in to comment.