378 stable releases

new 1.18.8 Mar 23, 2024
1.18.3 Feb 24, 2024
1.17.13 Dec 21, 2023
1.17.6 Nov 17, 2023
0.10.4 Nov 9, 2018

#1337 in Magic Beans

Download history 14402/week @ 2023-12-06 18189/week @ 2023-12-13 13147/week @ 2023-12-20 9690/week @ 2023-12-27 16710/week @ 2024-01-03 18738/week @ 2024-01-10 16255/week @ 2024-01-17 19615/week @ 2024-01-24 21746/week @ 2024-01-31 19529/week @ 2024-02-07 16972/week @ 2024-02-14 16790/week @ 2024-02-21 19001/week @ 2024-02-28 20716/week @ 2024-03-06 21557/week @ 2024-03-13 17820/week @ 2024-03-20

82,035 downloads per month
Used in 663 crates (459 directly)

Apache-2.0

1.5MB
31K 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 Stack Exchange


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

~16–27MB
~436K SLoC