# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "jup-lend-sdk"
version = "0.2.13"
authors = ["Georges KABBOUCHI <georges.kabbouchi@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for Jupiter lending protocol"
readme = "README.md"
keywords = [
    "solana",
    "jupiter",
    "lending",
    "sdk",
    "fluid",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Instadapp/jup-lend-sdk-rs"

[lib]
name = "jup_lend_sdk"
path = "src/lib.rs"

[[example]]
name = "flashloan"
path = "examples/flashloan.rs"

[[example]]
name = "liquidate"
path = "examples/liquidate.rs"

[[example]]
name = "liquidations"
path = "examples/liquidations.rs"

[[example]]
name = "oracle"
path = "examples/oracle.rs"

[[example]]
name = "oracle_single_pool"
path = "examples/oracle_single_pool.rs"

[[example]]
name = "vault_oracle"
path = "examples/vault_oracle.rs"

[dependencies.anchor-client]
version = "=0.31.1"
features = ["async"]

[dependencies.anchor-lang]
version = "=0.31.1"

[dependencies.anyhow]
version = "1.0.93"

[dependencies.base64]
version = "0.22.1"

[dependencies.bytemuck]
version = "1.4.0"
features = [
    "derive",
    "min_const_generics",
]

[dependencies.dotenv]
version = "0.15.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.num-traits]
version = "0.2"

[dependencies.pyth-solana-receiver-sdk]
version = "=1.0.1"

[dependencies.regex]
version = "1.11.2"

[dependencies.solana-address-lookup-table-program]
version = "2.2.20"

[dependencies.solana-program-pack]
version = "2.0.0"

[dependencies.spl-associated-token-account]
version = "7.0.0"

[dependencies.spl-stake-pool]
version = "2.0.3"

[dependencies.spl-token]
version = "7.0.0"

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.47.1"
features = ["full"]
