forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
98 lines (90 loc) · 2.89 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[package]
name = "solana-sdk"
version = "1.11.1"
description = "Solana SDK"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-sdk"
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
[features]
# "program" feature is a legacy feature retained to support v1.3 and older
# programs. New development should not use this feature. Instead use the
# solana-program crate
program = []
default = [
"full" # functionality that is not compatible or needed for on-chain programs
]
full = [
"assert_matches",
"byteorder",
"chrono",
"generic-array",
"memmap2",
"rand",
"rand_chacha",
"serde_json",
"ed25519-dalek",
"ed25519-dalek-bip32",
"solana-logger",
"libsecp256k1",
"sha3",
"digest",
]
[dependencies]
assert_matches = { version = "1.5.0", optional = true }
base64 = "0.13"
bincode = "1.3.3"
bitflags = "1.3.1"
borsh = "0.9.3"
bs58 = "0.4.0"
bytemuck = { version = "1.9.1", features = ["derive"] }
byteorder = { version = "1.4.3", optional = true }
chrono = { default-features = false, features = ["alloc"], version = "0.4", optional = true }
curve25519-dalek = { version = "3.2.1", optional = true }
derivation-path = { version = "0.2.0", default-features = false }
digest = { version = "0.10.1", optional = true }
ed25519-dalek = { version = "=1.0.1", optional = true }
ed25519-dalek-bip32 = { version = "0.2.0", optional = true }
generic-array = { version = "0.14.5", default-features = false, features = ["serde", "more_lengths"], optional = true }
hmac = "0.12.1"
itertools = "0.10.3"
lazy_static = "1.4.0"
libsecp256k1 = { version = "0.6.0", optional = true }
log = "0.4.17"
memmap2 = { version = "0.5.3", optional = true }
num-derive = "0.3"
num-traits = "0.2"
pbkdf2 = { version = "0.11.0", default-features = false }
qstring = "0.7.2"
rand = { version = "0.7.0", optional = true }
rand_chacha = { version = "0.2.2", optional = true }
rustversion = "1.0.6"
serde = "1.0.137"
serde_bytes = "0.11"
serde_derive = "1.0.103"
serde_json = { version = "1.0.81", optional = true }
sha2 = "0.10.2"
sha3 = { version = "0.10.1", optional = true }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.11.1" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.11.1" }
solana-logger = { path = "../logger", version = "=1.11.1", optional = true }
solana-program = { path = "program", version = "=1.11.1" }
solana-sdk-macro = { path = "macro", version = "=1.11.1" }
thiserror = "1.0"
uriparse = "0.6.4"
wasm-bindgen = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.57"
[dev-dependencies]
anyhow = "1.0.57"
curve25519-dalek = "3.2.1"
tiny-bip39 = "0.8.2"
[build-dependencies]
rustc_version = "0.4"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
crate-type = ["cdylib", "rlib"]