345 stable releases

new 1.17.7 Dec 1, 2023
1.17.6 Nov 17, 2023
1.17.4 Oct 30, 2023
1.16.21 Dec 3, 2023
0.10.4 Nov 9, 2018

#1345 in Magic Beans

Download history 13521/week @ 2023-08-17 14406/week @ 2023-08-24 11374/week @ 2023-08-31 15984/week @ 2023-09-07 12510/week @ 2023-09-14 12336/week @ 2023-09-21 14970/week @ 2023-09-28 14607/week @ 2023-10-05 18453/week @ 2023-10-12 20502/week @ 2023-10-19 19468/week @ 2023-10-26 17215/week @ 2023-11-02 19234/week @ 2023-11-09 18195/week @ 2023-11-16 17737/week @ 2023-11-23 13501/week @ 2023-11-30

71,767 downloads per month
Used in 592 crates (400 directly)


30K SLoC


Solana SDK

Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.

More information about Solana is available in the Solana documentation.

The Solana Program Library provides examples of how to use this crate.

Still have questions? Ask us on Stack Exchange


The Solana host and client SDK.

This is the base library for all off-chain programs that interact with Solana or otherwise operate on Solana data structures. On-chain programs instead use the solana-program crate, the modules of which are re-exported by this crate, like the relationship between the Rust core and std crates. As much of the functionality of this crate is provided by solana-program, see that crate's documentation for an overview.

Many of the modules in this crate are primarily of use to the Solana runtime itself. Additional crates provide capabilities built on solana-sdk, and many programs will need to link to those crates as well, particularly for clients communicating with Solana nodes over RPC.

Such crates include:


~246K SLoC