Documentation
[[bench]]
name = "accounts"
path = "benches/accounts.rs"

[[bench]]
name = "ed25519_instructions"
path = "benches/ed25519_instructions.rs"

[[bench]]
name = "secp256k1_instructions"
path = "benches/secp256k1_instructions.rs"

[[bench]]
name = "serialize_instructions"
path = "benches/serialize_instructions.rs"

[[bench]]
name = "short_vec"
path = "benches/short_vec.rs"

[[bench]]
name = "slot_hashes"
path = "benches/slot_hashes.rs"

[[bench]]
name = "slot_history"
path = "benches/slot_history.rs"

[dependencies.bincode]
version = "1.3.3"

[dependencies.bitflags]
features = ["serde"]
version = "2.6.0"

[dependencies.borsh]
features = ["derive", "unstable__schema"]
optional = true
version = "1.5.1"

[dependencies.bs58]
default-features = false
version = "0.5.1"

[dependencies.bytemuck]
version = "1.19.0"

[dependencies.bytemuck_derive]
version = "1.8.0"

[dependencies.byteorder]
optional = true
version = "1.5.0"

[dependencies.chrono]
default-features = false
features = ["alloc"]
optional = true
version = "0.4.38"

[dependencies.curve25519-dalek]
features = ["digest", "rand_core"]
optional = true
version = "4.1.3"

[dependencies.digest]
optional = true
version = "0.10.7"

[dependencies.ed25519-dalek]
optional = true
version = "=1.0.1"

[dependencies.ed25519-dalek-bip32]
optional = true
version = "0.2.0"

[dependencies.generic-array]
default-features = false
features = ["serde", "more_lengths"]
optional = true
version = "0.14.7"

[dependencies.hmac]
version = "0.12.1"

[dependencies.itertools]
version = "0.12.1"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.libsecp256k1]
default-features = false
features = ["std", "static-context", "hmac"]
optional = true
version = "0.6.0"

[dependencies.log]
version = "0.4.22"

[dependencies.memmap2]
optional = true
version = "0.5.10"

[dependencies.num-derive]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.num_enum]
version = "0.7.3"

[dependencies.pbkdf2]
default-features = false
version = "0.11.0"

[dependencies.qualifier_attr]
default-features = false
optional = true
version = "0.2.2"

[dependencies.rand]
optional = true
version = "0.8.5"

[dependencies.rand0-7]
optional = true
package = "rand"
version = "0.7"

[dependencies.serde]
version = "1.0.213"

[dependencies.serde_bytes]
version = "0.11.15"

[dependencies.serde_derive]
version = "1.0.213"

[dependencies.serde_json]
optional = true
version = "1.0.132"

[dependencies.serde_with]
default-features = false
features = ["macros"]
version = "3.11.0"

[dependencies.sha2]
version = "0.10.8"

[dependencies.sha3]
optional = true
version = "0.10.8"

[dependencies.siphasher]
version = "0.3.11"

[dependencies.solana-account]
features = ["bincode"]
version = "=2.1.2"

[dependencies.solana-bn254]
version = "=2.1.2"

[dependencies.solana-decode-error]
version = "=2.1.2"

[dependencies.solana-derivation-path]
version = "=2.1.2"

[dependencies.solana-feature-set]
version = "=2.1.2"

[dependencies.solana-frozen-abi]
features = ["frozen-abi"]
optional = true
version = "=2.1.2"

[dependencies.solana-frozen-abi-macro]
features = ["frozen-abi"]
optional = true
version = "=2.1.2"

[dependencies.solana-inflation]
features = ["serde"]
version = "=2.1.2"

[dependencies.solana-instruction]
default-features = false
version = "=2.1.2"

[dependencies.solana-native-token]
version = "=2.1.2"

[dependencies.solana-packet]
features = ["bincode", "serde"]
version = "=2.1.2"

[dependencies.solana-precompile-error]
optional = true
version = "=2.1.2"

[dependencies.solana-program]
default-features = false
version = "=2.1.2"

[dependencies.solana-program-memory]
version = "=2.1.2"

[dependencies.solana-pubkey]
default-features = false
features = ["std"]
version = "=2.1.2"

[dependencies.solana-sanitize]
version = "=2.1.2"

[dependencies.solana-sdk-macro]
version = "=2.1.2"

[dependencies.solana-secp256k1-recover]
default-features = false
version = "=2.1.2"

[dependencies.solana-secp256r1-program]
default-features = false
version = "=2.1.2"

[dependencies.solana-serde-varint]
version = "=2.1.2"

[dependencies.solana-short-vec]
version = "=2.1.2"

[dependencies.solana-signature]
default-features = false
features = ["rand", "serde", "std", "verify"]
optional = true
version = "=2.1.2"

[dependencies.solana-transaction-error]
features = ["serde"]
optional = true
version = "=2.1.2"

[dependencies.thiserror]
version = "1.0.65"

[dev-dependencies.anyhow]
version = "1.0.91"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.curve25519-dalek]
features = ["digest", "rand_core"]
version = "4.1.3"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.solana-logger]
version = "=2.1.2"

[dev-dependencies.solana-program]
default-features = false
features = ["dev-context-only-utils"]
version = "=2.1.2"

[dev-dependencies.static_assertions]
version = "1.1.0"

[dev-dependencies.tiny-bip39]
version = "0.8.2"

[features]
borsh = ["dep:borsh", "solana-program/borsh", "solana-secp256k1-recover/borsh"]
default = ["borsh", "full"]
dev-context-only-utils = ["qualifier_attr", "solana-account/dev-context-only-utils"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "solana-feature-set/frozen-abi", "solana-account/frozen-abi", "solana-inflation/frozen-abi", "solana-program/frozen-abi", "solana-short-vec/frozen-abi", "solana-signature/frozen-abi", "solana-transaction-error/frozen-abi"]
full = ["byteorder", "chrono", "memmap2", "rand", "rand0-7", "serde_json", "solana-signature", "ed25519-dalek", "ed25519-dalek-bip32", "libsecp256k1", "sha3", "digest", "solana-pubkey/rand", "dep:solana-precompile-error", "dep:solana-transaction-error"]
openssl-vendored = ["solana-secp256r1-program/openssl-vendored"]
program = []

[lib]
crate-type = ["cdylib", "rlib"]
name = "solana_sdk"
path = "src/lib.rs"

[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(target_os, values("solana"))', 'cfg(feature, values("frozen-abi", "no-entrypoint"))']
level = "warn"
priority = 0

[package]
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Solana SDK"
documentation = "https://docs.rs/solana-sdk"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-sdk"
readme = "README.md"
repository = "https://github.com/anza-xyz/agave"
version = "2.1.2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
features = ["wasm-bindgen"]
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.72"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[[test]]
name = "test_pubkey_export"
path = "tests/test_pubkey_export.rs"