We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74ff0b9 + 1a17c66 commit d06d9cfCopy full SHA for d06d9cf
pyth-sdk-solana/test-contract/rust-toolchain
@@ -0,0 +1,5 @@
1
+
2
+# This is only used for tests
3
+[toolchain]
4
+channel = "1.66.1"
5
+profile = "minimal"
pyth-sdk/Cargo.toml
@@ -19,6 +19,9 @@ borsh = "0.9"
19
borsh-derive = "0.9.0"
20
serde = { version = "1.0.136", features = ["derive"] }
21
schemars = "0.8.8"
22
+getrandom = { version = "0.2.2", features = ["custom"] }
23
24
[dev-dependencies]
25
serde_json = "1.0.79"
26
+quickcheck = "1"
27
+quickcheck_macros = "1"
pyth-sdk/src/lib.rs
@@ -1,3 +1,9 @@
+#[cfg(test)]
+extern crate quickcheck;
+#[macro_use(quickcheck)]
+extern crate quickcheck_macros;
6
7
use borsh::{
8
BorshDeserialize,
9
BorshSerialize,
0 commit comments