solana/sdk
Brooks Prumo 96360f3139 clippy: Use `unwrap_or_default()`
Clippy was unhappy:

```text
error: use of `.unwrap_or_else(..)` to construct default value
   --> sdk/src/signer/keypair.rs:171:27
    |
171 |     let derivation_path = derivation_path.unwrap_or_else(DerivationPath::default);
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `derivation_path.unwrap_or_default()`
    |
    = note: `-D clippy::unwrap-or-else-default` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_else_default
```
2021-08-23 11:17:21 -05:00
..
benches Store versioned transactions in the ledger, disabled by default (#19139) 2021-08-17 15:17:56 -07:00
bpf Split solana_sdk.h (#19172) 2021-08-13 09:49:24 -07:00
cargo-build-bpf change untar to use unpack instead of unpack_in (#19216) 2021-08-18 15:49:02 -05:00
cargo-test-bpf Reword help of generate-child-script-on-failure cargo bpf tools option (#18685) 2021-07-15 03:31:33 +00:00
docker-solana bump recommended maps/nofiles 2021-08-04 11:15:18 -06:00
macro Add macros for deprecacted ids (#18907) 2021-07-26 20:54:46 -07:00
program stake: Remove v2 program references (#19308) 2021-08-20 01:08:44 -04:00
src clippy: Use `unwrap_or_default()` 2021-08-23 11:17:21 -05:00
.gitignore
Cargo.toml chore: bump serde from 1.0.127 to 1.0.128 (#19370) 2021-08-23 09:33:34 -06:00
README.md Add sdk and program READMEs (#18154) 2021-06-23 21:22:35 +00:00
Xargo.toml Initial population of solana-program-sdk 2020-10-24 08:37:55 -07:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00

README.md

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