Giter VIP home page Giter VIP logo

shank's Introduction

Shank Build+Test

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.

shank-logo

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 impl blocks from specific annotations like account seeds

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

shank's People

Contributors

0xshuk avatar febo avatar ngundotra avatar stegabob avatar thlorenz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.