2018-09-27 07:49:26 -07:00
|
|
|
[package]
|
2018-10-25 11:13:08 -07:00
|
|
|
name = "solana-sdk"
|
2022-06-22 19:16:18 -07:00
|
|
|
version = "1.11.2"
|
2018-10-25 11:13:08 -07:00
|
|
|
description = "Solana SDK"
|
2020-06-13 14:41:05 -07:00
|
|
|
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
2018-10-25 11:13:08 -07:00
|
|
|
repository = "https://github.com/solana-labs/solana"
|
2018-12-13 21:14:37 -08:00
|
|
|
homepage = "https://solana.com/"
|
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"
|
2018-10-25 11:13:08 -07:00
|
|
|
license = "Apache-2.0"
|
2021-11-30 16:47:00 -08:00
|
|
|
edition = "2021"
|
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
|
|
|
]
|
|
|
|
|
2018-09-27 07:49:26 -07:00
|
|
|
[dependencies]
|
2021-07-01 08:59:01 -07:00
|
|
|
assert_matches = { version = "1.5.0", optional = true }
|
2022-03-11 09:05:57 -08:00
|
|
|
base64 = "0.13"
|
2021-06-21 09:06:31 -07:00
|
|
|
bincode = "1.3.3"
|
2022-01-02 09:10:32 -08:00
|
|
|
bitflags = "1.3.1"
|
2022-02-09 11:02:57 -08:00
|
|
|
borsh = "0.9.3"
|
2021-05-28 11:30:34 -07:00
|
|
|
bs58 = "0.4.0"
|
2022-04-22 19:50:47 -07:00
|
|
|
bytemuck = { version = "1.9.1", features = ["derive"] }
|
2021-06-29 14:08:04 -07:00
|
|
|
byteorder = { version = "1.4.3", optional = true }
|
2021-11-28 04:47:12 -08:00
|
|
|
chrono = { default-features = false, features = ["alloc"], version = "0.4", optional = true }
|
2022-03-08 00:14:37 -08:00
|
|
|
curve25519-dalek = { version = "3.2.1", optional = true }
|
2022-02-26 16:15:04 -08:00
|
|
|
derivation-path = { version = "0.2.0", default-features = false }
|
2021-12-17 13:30:42 -08:00
|
|
|
digest = { version = "0.10.1", optional = true }
|
2021-04-29 00:42:21 -07:00
|
|
|
ed25519-dalek = { version = "=1.0.1", optional = true }
|
2022-02-26 16:15:04 -08:00
|
|
|
ed25519-dalek-bip32 = { version = "0.2.0", optional = true }
|
2022-01-05 11:01:15 -08:00
|
|
|
generic-array = { version = "0.14.5", default-features = false, features = ["serde", "more_lengths"], optional = true }
|
2022-02-28 18:07:33 -08:00
|
|
|
hmac = "0.12.1"
|
2021-12-06 22:23:26 -08:00
|
|
|
itertools = "0.10.3"
|
2020-10-28 20:21:50 -07:00
|
|
|
lazy_static = "1.4.0"
|
2021-07-20 12:14:47 -07:00
|
|
|
libsecp256k1 = { version = "0.6.0", optional = true }
|
2022-05-04 18:49:18 -07:00
|
|
|
log = "0.4.17"
|
2022-03-03 13:45:07 -08:00
|
|
|
memmap2 = { version = "0.5.3", optional = true }
|
2020-10-19 13:19:24 -07:00
|
|
|
num-derive = "0.3"
|
|
|
|
num-traits = "0.2"
|
2022-04-22 09:47:19 -07:00
|
|
|
pbkdf2 = { version = "0.11.0", default-features = false }
|
2021-04-29 00:42:21 -07:00
|
|
|
qstring = "0.7.2"
|
2020-04-27 09:33:33 -07:00
|
|
|
rand = { version = "0.7.0", optional = true }
|
|
|
|
rand_chacha = { version = "0.2.2", optional = true }
|
2021-12-06 13:47:26 -08:00
|
|
|
rustversion = "1.0.6"
|
2022-05-03 21:14:59 -07:00
|
|
|
serde = "1.0.137"
|
2019-10-18 17:18:06 -07:00
|
|
|
serde_bytes = "0.11"
|
2019-11-26 14:44:20 -08:00
|
|
|
serde_derive = "1.0.103"
|
2022-05-04 13:57:38 -07:00
|
|
|
serde_json = { version = "1.0.81", optional = true }
|
2022-02-24 22:57:42 -08:00
|
|
|
sha2 = "0.10.2"
|
2022-03-15 23:01:01 -07:00
|
|
|
sha3 = { version = "0.10.1", optional = true }
|
2022-06-22 19:16:18 -07:00
|
|
|
solana-frozen-abi = { path = "../frozen-abi", version = "=1.11.2" }
|
|
|
|
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.11.2" }
|
|
|
|
solana-logger = { path = "../logger", version = "=1.11.2", optional = true }
|
|
|
|
solana-program = { path = "program", version = "=1.11.2" }
|
|
|
|
solana-sdk-macro = { path = "macro", version = "=1.11.2" }
|
2021-04-29 00:42:21 -07:00
|
|
|
thiserror = "1.0"
|
2022-04-13 18:33:42 -07:00
|
|
|
uriparse = "0.6.4"
|
2021-10-13 16:52:52 -07:00
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-04-20 10:54:44 -07:00
|
|
|
js-sys = "0.3.57"
|
2019-11-22 07:20:40 -08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-04-22 22:34:34 -07:00
|
|
|
anyhow = "1.0.57"
|
2022-03-08 00:14:37 -08:00
|
|
|
curve25519-dalek = "3.2.1"
|
2022-06-26 21:58:08 -07:00
|
|
|
static_assertions = "1.1.0"
|
2021-09-30 12:19:12 -07:00
|
|
|
tiny-bip39 = "0.8.2"
|
2020-04-16 18:18:28 -07:00
|
|
|
|
2020-06-03 04:51:56 -07:00
|
|
|
[build-dependencies]
|
2021-06-09 09:57:39 -07:00
|
|
|
rustc_version = "0.4"
|
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"]
|