关于
Extracts IDL from Solana Rust contracts
商业与金融实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Shank 
Collection of shank crates used to annotate Rust programs in order to extract IDL via the included CLI tool. This IDL is used by solita in order to generate program SDKs.

Installation
For usage and installation see the shank-cli Readme.
Crates
- shank top level crate to be installed and included in your library to add macro annotations
- shank_cli the CLI tool that extracts IDL from a specified crate into a file
- shank-macro provides the derive macros shank uses
- shank-macro-impl implements and tests the derive macros
- shank-idl processes files of a crate in order to discover shank macros annotations and convert annotated types into an solita compatible IDL
- shank-render generates Rust
implblocks from specific annotations like accountseeds
Development
Fork the repo makes some changes and make sure that all is dandy by running cargo test. Then
provide a pull request.
If you are a contributor with access to publish to crates.io do the below in order to publish a new version. NOTE that this only works from the master branch and should be performed after merging a PR into master.
cargo test && cargo release <major|minor|patch>
The above runs all tests and dry-runs the release process. You should verify closely what it is about to do and then re-run the release command as shown below.
cargo release <major|minor|patch> --execute
LICENSE
Apache-2.0
探索相关项目
加载中…