pyth-sui-sdk 0.26.2

SDK for Pyth's Sui package; maintained by Aftermath
Documentation
# 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 = "2024"
rust-version = "1.92"
name = "pyth-sui-sdk"
version = "0.26.2"
authors = ["Aftermath Finance <admin@aftermath.finance>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for Pyth's Sui package; maintained by Aftermath"
readme = "README.md"
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0"
repository = "https://github.com/AftermathFinance/aftermath-sdk-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

[features]
json-rpc = [
    "dep:af-ptbuilder",
    "dep:jsonrpsee-core",
    "dep:sui-jsonrpc",
    "sui-jsonrpc/client-api",
]
ptb = [
    "bytes/serde",
    "dep:af-ptbuilder",
    "dep:bytes",
    "dep:extension-traits",
]
pyth-sdk = [
    "dep:af-utilities",
    "dep:pyth-sdk",
]

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

[dependencies.af-move-type]
version = "0.19"

[dependencies.af-ptbuilder]
version = "13.1.0"
optional = true

[dependencies.af-sui-pkg-sdk]
version = "0.15"

[dependencies.af-sui-types]
version = "0.18.1"

[dependencies.af-utilities]
version = "0.15"
optional = true

[dependencies.bytes]
version = "1"
optional = true

[dependencies.extension-traits]
version = "2"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.jsonrpsee-core]
version = "0.26"
optional = true

[dependencies.pyth-sdk]
version = "0.8"
optional = true

[dependencies.serde]
version = "1"

[dependencies.sui-framework-sdk]
version = "0.17"

[dependencies.sui-jsonrpc]
version = "0.25.1"
optional = true
default-features = false

[dependencies.sui-sdk-types]
version = "0.3"

[dependencies.thiserror]
version = "2"

[dependencies.wormhole-sui-sdk]
version = "0.17"

[lints.clippy]
double_parens = "allow"
todo = "warn"
uninlined_format_args = "allow"
unwrap_used = "warn"

[lints.clippy.nursery]
level = "warn"
priority = 1

[lints.clippy.redundant_pub_crate]
level = "allow"
priority = 2

[lints.rust]
exported_private_dependencies = "allow"