txline 0.4.0

Devnet-only Rust SDK for TxLINE.
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.96"
name = "txline"
version = "0.4.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Devnet-only Rust SDK for TxLINE."
homepage = "https://github.com/Berektassuly/txline"
documentation = "https://docs.rs/txline"
readme = "README.md"
keywords = [
    "txline",
    "solana",
    "devnet",
    "sdk",
    "odds",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Berektassuly/txline"
resolver = "2"

[features]
default = [
    "http",
    "stream",
    "solana",
    "validation",
    "devnet",
]
devnet = []
http = []
solana = []
stream = ["http"]
validation = ["solana"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-stream]
version = "0.3.6"

[dependencies.base64]
version = "0.22.1"

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

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "query",
    "rustls",
    "stream",
]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

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

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

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.url]
version = "2.5.7"

[dependencies.wincode]
version = "0.5.0"