2020-10-19 13:17:46 -07:00
|
|
|
[package]
|
2020-10-23 17:22:10 -07:00
|
|
|
name = "solana-program"
|
2023-01-31 15:48:33 -08:00
|
|
|
version = "1.16.0"
|
2020-10-23 17:22:10 -07:00
|
|
|
description = "Solana Program"
|
2023-01-31 05:07:13 -08:00
|
|
|
authors = ["Solana Labs Maintainers <maintainers@solanalabs.com>"]
|
2023-01-24 23:50:41 -08:00
|
|
|
repository = "https://github.com/solana-labs/solana"
|
|
|
|
homepage = "https://solana.com/"
|
2021-03-10 12:46:17 -08:00
|
|
|
documentation = "https://docs.rs/solana-program"
|
2021-06-23 14:22:35 -07:00
|
|
|
readme = "README.md"
|
2023-01-24 23:50:41 -08:00
|
|
|
license = "Apache-2.0"
|
|
|
|
edition = "2021"
|
2020-10-19 13:17:46 -07:00
|
|
|
|
|
|
|
[dependencies]
|
2020-10-19 13:19:24 -07:00
|
|
|
bincode = "1.3.1"
|
2023-01-24 23:50:41 -08:00
|
|
|
blake3 = { version = "1.3.1", features = ["digest", "traits-preview"] }
|
2021-07-14 21:31:12 -07:00
|
|
|
borsh = "0.9.1"
|
2023-01-24 23:50:41 -08:00
|
|
|
borsh-derive = "0.9.1"
|
|
|
|
bs58 = "0.4.0"
|
|
|
|
bv = { version = "0.11.1", features = ["serde"] }
|
2023-01-03 21:22:00 -08:00
|
|
|
bytemuck = { version = "1.8.0", features = ["derive"] }
|
2023-01-24 23:50:41 -08:00
|
|
|
itertools = "0.10.5"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
log = "0.4.17"
|
2023-01-31 08:08:55 -08:00
|
|
|
memoffset = "0.8"
|
2023-01-24 23:50:41 -08:00
|
|
|
num-derive = "0.3"
|
|
|
|
num-traits = { version = "0.2", default-features = true, features = ["i128", "std"] }
|
2022-07-07 19:54:27 -07:00
|
|
|
rustversion = "1.0.7"
|
2023-01-24 23:50:41 -08:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_bytes = "0.11"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
serde_json = "1.0"
|
2021-12-08 17:12:35 -08:00
|
|
|
sha2 = "0.10.0"
|
2021-12-09 15:32:21 -08:00
|
|
|
sha3 = "0.10.0"
|
2023-01-31 15:48:33 -08:00
|
|
|
solana-frozen-abi = { path = "../../frozen-abi", version = "=1.16.0" }
|
|
|
|
solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.16.0" }
|
|
|
|
solana-sdk-macro = { path = "../macro", version = "=1.16.0" }
|
2023-01-24 23:50:41 -08:00
|
|
|
thiserror = "1.0"
|
2020-10-19 13:19:24 -07:00
|
|
|
|
2022-05-19 19:51:23 -07:00
|
|
|
[target.'cfg(not(target_os = "solana"))'.dependencies]
|
2023-01-24 23:50:41 -08:00
|
|
|
ark-bn254 = "0.3.0"
|
|
|
|
ark-ec = "0.3.0"
|
|
|
|
ark-ff = "0.3.0"
|
|
|
|
array-bytes = "=1.4.1"
|
|
|
|
bitflags = "1.3.1"
|
|
|
|
base64 = { version = "0.13", features = ["alloc", "std"] }
|
|
|
|
curve25519-dalek = { version = "3.2.1", features = ["serde"] }
|
|
|
|
itertools = "0.10.5"
|
2022-07-01 12:30:39 -07:00
|
|
|
libc = { version = "0.2.126", features = ["extra_traits"] }
|
2023-01-24 23:50:41 -08:00
|
|
|
libsecp256k1 = "0.6.0"
|
|
|
|
num-bigint = "0.4.3"
|
|
|
|
rand = "0.7"
|
|
|
|
rand_chacha = { version = "0.2.2", default-features = true, features = ["simd", "std"] }
|
|
|
|
tiny-bip39 = "0.8.2"
|
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
zeroize = { version = "1.3", default-features = true, features = ["zeroize_derive"] }
|
2021-10-13 16:52:52 -07:00
|
|
|
|
2022-05-19 19:51:23 -07:00
|
|
|
[target.'cfg(not(target_os = "solana"))'.dev-dependencies]
|
2023-01-31 15:48:33 -08:00
|
|
|
solana-logger = { path = "../../logger", version = "=1.16.0" }
|
2021-12-22 09:01:33 -08:00
|
|
|
|
2021-10-13 16:52:52 -07:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2023-01-24 23:50:41 -08:00
|
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
console_log = "0.2.0"
|
2021-10-13 16:52:52 -07:00
|
|
|
js-sys = "0.3.55"
|
2022-07-01 12:30:39 -07:00
|
|
|
getrandom = { version = "0.2", features = ["js", "wasm-bindgen"] }
|
2020-10-19 13:19:24 -07:00
|
|
|
|
2021-12-02 17:18:21 -08:00
|
|
|
[target.'cfg(not(target_pointer_width = "64"))'.dependencies]
|
2023-01-24 23:50:41 -08:00
|
|
|
parking_lot = "0.12"
|
2021-12-02 17:18:21 -08:00
|
|
|
|
2020-10-19 13:19:24 -07:00
|
|
|
[dev-dependencies]
|
2023-01-09 20:46:31 -08:00
|
|
|
anyhow = "1.0.58"
|
2020-10-19 13:19:24 -07:00
|
|
|
assert_matches = "1.3.0"
|
|
|
|
bincode = "1.3.1"
|
2021-12-14 13:35:22 -08:00
|
|
|
borsh = "0.9.1"
|
2023-01-24 23:50:41 -08:00
|
|
|
borsh-derive = "0.9.1"
|
2020-10-19 13:19:24 -07:00
|
|
|
serde_json = "1.0.56"
|
2023-01-24 23:50:41 -08:00
|
|
|
static_assertions = "1.1.0"
|
2020-10-19 13:19:24 -07:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-07-01 12:30:39 -07:00
|
|
|
cc = { version = "1.0.67", features = ["jobserver", "parallel"] }
|
2023-01-24 23:50:41 -08:00
|
|
|
rustc_version = "0.4"
|
2020-10-19 13:17:46 -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"]
|
2022-05-26 06:01:55 -07:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|