-
Notifications
You must be signed in to change notification settings - Fork 245
/
Copy pathCargo.toml
50 lines (44 loc) · 1.45 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
[package]
name = "pythnet-sdk"
version = "2.4.0"
description = "Pyth Runtime for Solana"
authors = ["Pyth Data Association"]
repository = "https://github.com/pyth-network/pythnet"
license = "Apache-2.0"
edition = "2021"
[lib]
crate-type = ["lib"]
name = "pythnet_sdk"
[features]
test-utils = ["dep:wormhole-vaas-serde", "dep:serde_wormhole", "dep:libsecp256k1", "dep:rand"]
solana-program = ["dep:solana-program", "dep:anchor-lang"]
[dependencies]
bincode = "1.3.1"
borsh = { version = "1.2.1", features = ["unstable__schema"] }
bytemuck = { version = "1.11.0", features = ["derive"] }
byteorder = "1.4.3"
fast-math = "0.1"
hex = { version = "0.4.3", features = ["serde"] }
serde = { version = "1.0.144", features = ["derive"] }
strum = { version = "0.24.1", features = ["derive"], optional = true }
quickcheck = { version = "1", optional = true}
sha3 = "0.10.4"
slow_primes = "0.1.14"
thiserror = "1.0.40"
serde_wormhole = {version ="0.1.0", optional = true}
wormhole-vaas-serde = {version = "0.1.0", optional = true}
libsecp256k1 = {version ="0.7.1", optional = true}
rand = {version = "0.8.5", optional = true}
solana-program = {version = ">=1.13.6", optional = true}
anchor-lang = {version = ">=0.28.0", optional = true}
[dev-dependencies]
base64 = "0.21.0"
rand = "0.7.0"
serde_json = "1.0.96"
solana-client = ">=1.13.6"
solana-sdk = ">=1.13.6"
proptest = "1.1.0"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[build-dependencies]
rustc_version = "0.4"