299 stable releases

new 1.15.0 Feb 2, 2023
1.14.11 Dec 20, 2022
1.14.9 Nov 28, 2022
1.11.4 Jul 23, 2022
0.10.4 Nov 9, 2018

#1477 in Magic Beans

Download history 10337/week @ 2022-10-13 10900/week @ 2022-10-20 12110/week @ 2022-10-27 11166/week @ 2022-11-03 11684/week @ 2022-11-10 13502/week @ 2022-11-17 8943/week @ 2022-11-24 11538/week @ 2022-12-01 12823/week @ 2022-12-08 9651/week @ 2022-12-15 6834/week @ 2022-12-22 6743/week @ 2022-12-29 10444/week @ 2023-01-05 9263/week @ 2023-01-12 12571/week @ 2023-01-19 9483/week @ 2023-01-26

43,157 downloads per month
Used in 412 crates (300 directly)

Apache-2.0

1.5MB
26K SLoC

Solana

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 Discord


lib.rs:

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:

Dependencies

~7–16MB
~282K SLoC