Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. [package]
  2. name = "solana-curve25519"
  3. description = "Solana Curve25519 Syscalls"
  4. documentation = "https://docs.rs/solana-curve25519"
  5. version = { workspace = true }
  6. authors = { workspace = true }
  7. repository = { workspace = true }
  8. homepage = { workspace = true }
  9. license = { workspace = true }
  10. edition = { workspace = true }
  11. [features]
  12. agave-unstable-api = []
  13. [dependencies]
  14. bytemuck = { workspace = true }
  15. bytemuck_derive = { workspace = true }
  16. # this crate uses `subtle::CtOption<Scalar>::into_option` via curve25519-dalek,
  17. # which requires subtle v2.6.1, but curve25519-dalek only requires v2.3.0
  18. # The line below help users of this crate obtain correct subtle version.
  19. # (that is, the version specified by our workspace or greater minor version, not the version specified by curve25519-dalek)
  20. subtle = { workspace = true }
  21. thiserror = { workspace = true }
  22. [target.'cfg(not(target_os = "solana"))'.dependencies]
  23. curve25519-dalek = { workspace = true, features = ["serde"] }
  24. [target.'cfg(target_os = "solana")'.dependencies]
  25. solana-define-syscall = { workspace = true }
  26. [lints]
  27. workspace = true