Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [package]
  2. name = "pythnet-sdk"
  3. version = "2.0.0"
  4. description = "Pyth Runtime for Solana"
  5. authors = ["Pyth Data Association"]
  6. repository = "https://github.com/pyth-network/pythnet"
  7. edition = "2021"
  8. [lib]
  9. crate-type = ["lib"]
  10. name = "pythnet_sdk"
  11. [features]
  12. test-utils = ["dep:wormhole-vaas-serde", "dep:serde_wormhole", "dep:libsecp256k1", "dep:rand"]
  13. [dependencies]
  14. bincode = "1.3.1"
  15. borsh = "0.10.3"
  16. bytemuck = { version = "1.11.0", features = ["derive"] }
  17. byteorder = "1.4.3"
  18. fast-math = "0.1"
  19. hex = { version = "0.4.3", features = ["serde"] }
  20. serde = { version = "1.0.144", features = ["derive"] }
  21. strum = { version = "0.24.1", features = ["derive"], optional = true }
  22. quickcheck = { version = "1", optional = true}
  23. sha3 = "0.10.4"
  24. slow_primes = "0.1.14"
  25. thiserror = "1.0.40"
  26. serde_wormhole = {version ="0.1.0", optional = true}
  27. wormhole-vaas-serde = {version = "0.1.0", optional = true}
  28. libsecp256k1 = {version ="0.7.1", optional = true}
  29. rand = {version = "0.8.5", optional = true}
  30. [dev-dependencies]
  31. base64 = "0.21.0"
  32. rand = "0.7.0"
  33. serde_json = "1.0.96"
  34. solana-client = "=1.13.6"
  35. solana-sdk = "=1.13.6"
  36. proptest = "1.1.0"
  37. [package.metadata.docs.rs]
  38. targets = ["x86_64-unknown-linux-gnu"]
  39. [build-dependencies]
  40. rustc_version = "0.4"