Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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-sdk", "dep:serde_wormhole"]
  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 = { git = "https://github.com/wormhole-foundation/wormhole", optional = true, tag="rust-sdk-2024-01-25"}
  27. wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", optional = true, tag="rust-sdk-2024-01-25"}
  28. [dev-dependencies]
  29. base64 = "0.21.0"
  30. rand = "0.7.0"
  31. serde_json = "1.0.96"
  32. solana-client = "=1.13.6"
  33. solana-sdk = "=1.13.6"
  34. proptest = "1.1.0"
  35. [package.metadata.docs.rs]
  36. targets = ["x86_64-unknown-linux-gnu"]
  37. [build-dependencies]
  38. rustc_version = "0.4"