[package]
name = "streak-api"
version = "0.3.8"
edition = "2021"
license = "MIT"
homepage = "https://streak.market"
description = "API for interacting with the STREAK directional markets protocol on Solana"
documentation = "https://docs.rs/streak-api"
repository = "https://github.com/streak/streak"
readme = "README.md"
keywords = ["solana", "streak", "blockchain", "defi"]
publish = true

[dependencies]
bytemuck = { version = "1.14.3", features = ["derive"] }
num_enum = "0.7.2"
solana-program = "^2.1"
# Exact SPL versions align with **`solana-program` ~2.1** (newer **`spl-token-2022`** minors may pull **`solana-program` v4**, breaking **`pyth-sdk-solana`** / **`borsh`** for **`crates.io`** consumers).
spl-associated-token-account = { version = "=6.0.0", features = ["no-entrypoint"] }
spl-token = { version = "=4.0.2", features = ["no-entrypoint"] }
spl-token-2022 = { version = "=7.0.0", features = ["no-entrypoint"] }
steel = { version = "4.0.7", features = ["spl"] }
thiserror = "1.0.57"
