# 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"
rust-version = "1.85.1"
name = "helius"
version = "1.0.0"
authors = ["0xIchigo <0xIchigo@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An asynchronous Helius Rust SDK for building the future of Solana"
homepage = "https://www.helius.dev/"
documentation = "https://docs.rs/helius/latest/helius/"
readme = "README.md"
keywords = [
    "helius",
    "solana",
    "asynchronous-sdk",
    "das",
    "cryptocurrency",
]
license = "MIT"
repository = "https://github.com/helius-labs/helius-rust-sdk"

[features]
default = ["native-tls"]
native-tls = [
    "reqwest/native-tls",
    "tokio-tungstenite/native-tls",
]
rustls = [
    "reqwest/rustls-tls",
    "tokio-tungstenite/rustls-tls-webpki-roots",
]

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

[[example]]
name = "append_address_to_webhook"
path = "examples/webhooks/append_address_to_webhook.rs"

[[example]]
name = "async_config_based_creation"
path = "examples/helius/async_config_based_creation.rs"

[[example]]
name = "create_webhook"
path = "examples/webhooks/create_webhook.rs"

[[example]]
name = "delete_webhook"
path = "examples/webhooks/delete_webhook.rs"

[[example]]
name = "edit_webhook"
path = "examples/webhooks/edit_webhook.rs"

[[example]]
name = "enhanced_websocket_accounts"
path = "examples/websockets/enhanced_websocket_accounts.rs"

[[example]]
name = "enhanced_websocket_transactions"
path = "examples/websockets/enhanced_websocket_transactions.rs"

[[example]]
name = "get_all_program_accounts"
path = "examples/das/get_all_program_accounts.rs"

[[example]]
name = "get_all_token_accounts_by_owner"
path = "examples/das/get_all_token_accounts_by_owner.rs"

[[example]]
name = "get_all_webhooks"
path = "examples/webhooks/get_all_webhooks.rs"

[[example]]
name = "get_asset_batch"
path = "examples/das/get_asset_batch.rs"

[[example]]
name = "get_asset_proof_batch"
path = "examples/das/get_asset_proof_batch.rs"

[[example]]
name = "get_batch_wallet_identity"
path = "examples/wallet/get_batch_wallet_identity.rs"

[[example]]
name = "get_compressed_account"
path = "examples/zk_compression/get_compressed_account.rs"

[[example]]
name = "get_compressed_token_balances"
path = "examples/zk_compression/get_compressed_token_balances.rs"

[[example]]
name = "get_latest_blockhash"
path = "examples/solana/get_latest_blockhash.rs"

[[example]]
name = "get_latest_blockhash_async"
path = "examples/solana/get_latest_blockhash_async.rs"

[[example]]
name = "get_parse_transactions"
path = "examples/enhanced/get_parse_transactions.rs"

[[example]]
name = "get_parsed_transaction_history"
path = "examples/enhanced/get_parsed_transaction_history.rs"

[[example]]
name = "get_priority_fee_estimate"
path = "examples/helius/get_priority_fee_estimate.rs"

[[example]]
name = "get_program_accounts_v2"
path = "examples/helius/get_program_accounts_v2.rs"

[[example]]
name = "get_token_accounts_by_owner_v2"
path = "examples/helius/get_token_accounts_by_owner_v2.rs"

[[example]]
name = "get_transactions_for_address"
path = "examples/enhanced/get_transactions_for_address.rs"

[[example]]
name = "get_transactions_for_address_with_filters"
path = "examples/enhanced/get_transactions_for_address_with_filters.rs"

[[example]]
name = "get_validity_proof"
path = "examples/zk_compression/get_validity_proof.rs"

[[example]]
name = "get_wallet_balances"
path = "examples/wallet/get_wallet_balances.rs"

[[example]]
name = "get_wallet_funding_source"
path = "examples/wallet/get_wallet_funding_source.rs"

[[example]]
name = "get_wallet_history"
path = "examples/wallet/get_wallet_history.rs"

[[example]]
name = "get_wallet_identity"
path = "examples/wallet/get_wallet_identity.rs"

[[example]]
name = "get_wallet_transfers"
path = "examples/wallet/get_wallet_transfers.rs"

[[example]]
name = "get_webhook_by_id"
path = "examples/webhooks/get_webhook_by_id.rs"

[[example]]
name = "remove_address_from_webhook"
path = "examples/webhooks/remove_address_from_webhook.rs"

[[example]]
name = "send_smart_transaction_with_seeds"
path = "examples/transactions/send_smart_transaction_with_seeds.rs"

[[test]]
name = "test_builder"
path = "tests/test_builder.rs"

[[test]]
name = "test_client"
path = "tests/test_client.rs"

[[test]]
name = "test_client_staked"
path = "tests/test_client_staked.rs"

[[test]]
name = "test_config"
path = "tests/test_config.rs"

[[test]]
name = "test_enhanced_transactions"
path = "tests/test_enhanced_transactions.rs"

[[test]]
name = "test_factory"
path = "tests/test_factory.rs"

[[test]]
name = "test_request_handler"
path = "tests/test_request_handler.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.bincode]
version = "1.3.3"

[dependencies.chrono]
version = "0.4.11"
features = ["serde"]

[dependencies.futures-util]
version = "0.3.30"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.phf]
version = "0.13.1"
features = ["macros"]

[dependencies.rand]
version = "0.9.2"

[dependencies.reqwest]
version = "0.12.23"
features = ["json"]
default-features = false

[dependencies.semver]
version = "1.0.23"

[dependencies.serde]
version = "1.0.198"

[dependencies.serde-enum-str]
version = "0.4.0"

[dependencies.serde_json]
version = "1.0.116"

[dependencies.solana-account-decoder]
version = "3.0.5"

[dependencies.solana-client]
version = "3.0.5"

[dependencies.solana-commitment-config]
version = "3.0.0"

[dependencies.solana-compute-budget-interface]
version = "3.0.0"

[dependencies.solana-program]
version = "3.0.0"

[dependencies.solana-rpc-client-api]
version = "3.0.5"

[dependencies.solana-sdk]
version = "3.0.0"

[dependencies.solana-stake-interface]
version = "2.0.1"

[dependencies.solana-system-interface]
version = "2.0.0"

[dependencies.solana-transaction-status]
version = "3.0.5"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.37.0"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "time",
]

[dependencies.tokio-stream]
version = "0.1.15"

[dependencies.tokio-tungstenite]
version = "0.28.0"

[dependencies.url]
version = "2.5.0"

[dev-dependencies.mockito]
version = "1.4.0"
