solana-connection-cache 4.2.0

Solana Connection Cache
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 = "solana-connection-cache"
version = "4.2.0"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana Connection Cache"
homepage = "https://anza.xyz/"
documentation = "https://docs.rs/solana-connection-cache"
readme = false
license = "Apache-2.0"
repository = "https://github.com/anza-xyz/agave"
resolver = "2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]

[features]
agave-unstable-api = []

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.crossbeam-channel]
version = "0.5.15"

[dependencies.indexmap]
version = "2.14.0"

[dependencies.log]
version = "0.4.32"

[dependencies.rand]
version = "0.9.4"

[dependencies.solana-keypair]
version = "3.1.2"

[dependencies.solana-measure]
version = "=4.2.0"
features = ["agave-unstable-api"]

[dependencies.solana-metrics]
version = "=4.2.0"
features = ["agave-unstable-api"]

[dependencies.solana-time-utils]
version = "3.0.0"

[dependencies.solana-transaction-error]
version = ">=3.3.1,<3.4.0"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.rand_chacha]
version = "0.9.0"

[lints.clippy]
arithmetic_side_effects = "deny"
default_trait_access = "deny"
manual_let_else = "deny"
new_without_default = "allow"
uninlined_format_args = "deny"
used_underscore_binding = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    'cfg(target_os, values("solana"))',
    'cfg(feature, values("frozen-abi", "no-entrypoint"))',
    'cfg(target_arch, values("sbf"))',
]