2018-09-27 07:49:26 -07:00
|
|
|
[package]
|
2018-10-25 11:13:08 -07:00
|
|
|
name = "solana-sdk"
|
|
|
|
description = "Solana SDK"
|
2021-03-10 12:46:17 -08:00
|
|
|
documentation = "https://docs.rs/solana-sdk"
|
2021-06-23 14:22:35 -07:00
|
|
|
readme = "README.md"
|
2023-02-23 06:01:54 -08:00
|
|
|
version = { workspace = true }
|
|
|
|
authors = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
|
|
|
homepage = { workspace = true }
|
|
|
|
license = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
2018-09-27 07:49:26 -07:00
|
|
|
|
2019-09-06 09:20:14 -07:00
|
|
|
[features]
|
2020-10-19 13:19:24 -07:00
|
|
|
# "program" feature is a legacy feature retained to support v1.3 and older
|
|
|
|
# programs. New development should not use this feature. Instead use the
|
2020-10-23 17:22:10 -07:00
|
|
|
# solana-program crate
|
2019-09-06 09:20:14 -07:00
|
|
|
program = []
|
2020-10-19 13:19:24 -07:00
|
|
|
|
2019-09-09 16:38:52 -07:00
|
|
|
default = [
|
2020-10-24 08:39:28 -07:00
|
|
|
"full" # functionality that is not compatible or needed for on-chain programs
|
2020-10-19 10:17:29 -07:00
|
|
|
]
|
2020-10-24 08:39:28 -07:00
|
|
|
full = [
|
2019-09-06 09:20:14 -07:00
|
|
|
"assert_matches",
|
|
|
|
"byteorder",
|
2020-02-24 14:55:08 -08:00
|
|
|
"chrono",
|
2020-04-28 09:43:48 -07:00
|
|
|
"generic-array",
|
2020-12-11 12:57:43 -08:00
|
|
|
"memmap2",
|
2019-09-06 09:20:14 -07:00
|
|
|
"rand",
|
2019-09-20 13:21:12 -07:00
|
|
|
"rand_chacha",
|
2019-09-06 09:20:14 -07:00
|
|
|
"serde_json",
|
2019-11-07 17:08:10 -08:00
|
|
|
"ed25519-dalek",
|
2021-05-03 18:58:56 -07:00
|
|
|
"ed25519-dalek-bip32",
|
2019-09-06 09:20:14 -07:00
|
|
|
"solana-logger",
|
2020-09-15 18:23:21 -07:00
|
|
|
"libsecp256k1",
|
|
|
|
"sha3",
|
|
|
|
"digest",
|
2019-09-06 09:20:14 -07:00
|
|
|
]
|
2023-07-13 06:44:08 -07:00
|
|
|
dev-context-only-utils = []
|
2019-09-06 09:20:14 -07:00
|
|
|
|
2018-09-27 07:49:26 -07:00
|
|
|
[dependencies]
|
2023-02-23 06:01:54 -08:00
|
|
|
assert_matches = { workspace = true, optional = true }
|
|
|
|
base64 = { workspace = true }
|
|
|
|
bincode = { workspace = true }
|
|
|
|
bitflags = { workspace = true }
|
|
|
|
borsh = { workspace = true }
|
|
|
|
bs58 = { workspace = true }
|
|
|
|
bytemuck = { workspace = true, features = ["derive"] }
|
|
|
|
byteorder = { workspace = true, optional = true }
|
|
|
|
chrono = { workspace = true, features = ["alloc"], optional = true }
|
|
|
|
curve25519-dalek = { workspace = true, optional = true }
|
|
|
|
derivation-path = { workspace = true }
|
|
|
|
digest = { workspace = true, optional = true }
|
|
|
|
ed25519-dalek = { workspace = true, optional = true }
|
|
|
|
ed25519-dalek-bip32 = { workspace = true, optional = true }
|
|
|
|
generic-array = { workspace = true, features = ["serde", "more_lengths"], optional = true }
|
|
|
|
hmac = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
|
|
|
lazy_static = { workspace = true }
|
|
|
|
libsecp256k1 = { workspace = true, optional = true }
|
|
|
|
log = { workspace = true }
|
|
|
|
memmap2 = { workspace = true, optional = true }
|
|
|
|
num-derive = { workspace = true }
|
|
|
|
num-traits = { workspace = true }
|
|
|
|
num_enum = { workspace = true }
|
|
|
|
pbkdf2 = { workspace = true }
|
|
|
|
qstring = { workspace = true }
|
|
|
|
rand = { workspace = true, optional = true }
|
|
|
|
rand_chacha = { workspace = true, optional = true }
|
|
|
|
rustversion = { workspace = true }
|
|
|
|
serde = { workspace = true }
|
|
|
|
serde_bytes = { workspace = true }
|
|
|
|
serde_derive = { workspace = true }
|
|
|
|
serde_json = { workspace = true, optional = true }
|
|
|
|
serde_with = { workspace = true, features = ["macros"] }
|
|
|
|
sha2 = { workspace = true }
|
|
|
|
sha3 = { workspace = true, optional = true }
|
|
|
|
solana-frozen-abi = { workspace = true }
|
|
|
|
solana-frozen-abi-macro = { workspace = true }
|
|
|
|
solana-logger = { workspace = true, optional = true }
|
|
|
|
solana-program = { workspace = true }
|
|
|
|
solana-sdk-macro = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
uriparse = { workspace = true }
|
|
|
|
wasm-bindgen = { workspace = true }
|
2021-10-13 16:52:52 -07:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2023-02-23 06:01:54 -08:00
|
|
|
js-sys = { workspace = true }
|
2019-11-22 07:20:40 -08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-02-23 06:01:54 -08:00
|
|
|
anyhow = { workspace = true }
|
|
|
|
curve25519-dalek = { workspace = true }
|
|
|
|
hex = { workspace = true }
|
|
|
|
static_assertions = { workspace = true }
|
|
|
|
tiny-bip39 = { workspace = true }
|
2020-04-16 18:18:28 -07:00
|
|
|
|
2020-06-03 04:51:56 -07:00
|
|
|
[build-dependencies]
|
2023-02-23 06:01:54 -08:00
|
|
|
rustc_version = { workspace = true }
|
2020-10-19 13:19:24 -07:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
2021-10-12 18:20:55 -07:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|