pyth-lazer-agent 0.16.0

Pyth Lazer Agent
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"
name = "pyth-lazer-agent"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pyth Lazer Agent"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/pyth-network/pyth-lazer-public"
resolver = "2"

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

[[bin]]
name = "pyth-lazer-agent"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0.98"

[dependencies.backoff]
version = "0.4.0"

[dependencies.base64]
version = "0.22.1"

[dependencies.bincode]
version = "2.0.1"
features = ["serde"]

[dependencies.cached]
version = "0.56.0"
features = ["async"]

[dependencies.clap]
version = "4.5.32"
features = ["derive"]

[dependencies.config]
version = "0.15.11"

[dependencies.derivative]
version = "2.2.0"

[dependencies.ed25519-dalek]
version = "2.1.1"
features = ["rand_core"]

[dependencies.futures]
version = "0.3.31"

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

[dependencies.http]
version = "1.3.1"

[dependencies.http-body-util]
version = "0.1.3"

[dependencies.humantime-serde]
version = "1.1.1"

[dependencies.hyper]
version = "1.6.0"
features = [
    "http1",
    "server",
    "client",
]

[dependencies.hyper-util]
version = "0.1.10"
features = ["tokio"]

[dependencies.protobuf]
version = "3.7.2"

[dependencies.pyth-lazer-protocol]
version = "0.46.0"

[dependencies.pyth-lazer-publisher-sdk]
version = "0.46.0"

[dependencies.reqwest]
version = "0.12.22"

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

[dependencies.serde-this-or-that]
version = "0.5.0"

[dependencies.serde_json]
version = "1.0.140"

[dependencies.soketto]
version = "0.8.1"
features = ["http"]

[dependencies.solana-keypair]
version = "~3.0.0"

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

[dependencies.tokio-native-tls]
version = "0.3.1"

[dependencies.tokio-tungstenite]
version = "0.26.2"
features = [
    "native-tls",
    "url",
]

[dependencies.tokio-util]
version = "0.7.14"
features = ["compat"]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "json",
]

[dependencies.ttl_cache]
version = "0.5.1"

[dependencies.url]
version = "2.5.4"
features = ["serde"]

[dev-dependencies.tempfile]
version = "3.20.0"

[lints.clippy]
allow_attributes_without_reason = "warn"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
collapsible_else_if = "allow"
collapsible_if = "allow"
collection_is_never_read = "warn"
expect_used = "warn"
fallible_impl_from = "warn"
indexing_slicing = "warn"
match_wild_err_arm = "warn"
panic = "warn"
panic_in_result_fn = "warn"
path_buf_push_overwrite = "warn"
read_zero_byte_vec = "warn"
same_name_method = "warn"
string_slice = "warn"
suspicious_operation_groupings = "warn"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
unchecked_duration_subtraction = "warn"
unreachable = "warn"
unused_self = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
while_float = "warn"
wildcard_dependencies = "deny"

[lints.rust]
unsafe_code = "deny"