solana-streamer 4.2.2

Solana Streamer
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-streamer"
version = "4.2.2"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana Streamer"
homepage = "https://anza.xyz/"
documentation = "https://docs.rs/solana-streamer"
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 = []
dev-context-only-utils = []

[lib]
name = "solana_streamer"
crate-type = ["lib"]
path = "src/lib.rs"

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

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

[dependencies.agave-xdp]
version = "=4.2.2"
features = ["agave-unstable-api"]

[dependencies.bytes]
version = "1.12.0"

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

[dependencies.futures]
version = "0.3.32"

[dependencies.histogram]
version = "0.6.9"

[dependencies.indexmap]
version = "2.14.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.libc]
version = "0.2.186"

[dependencies.log]
version = "0.4.32"

[dependencies.nix]
version = "0.31.3"
features = [
    "net",
    "poll",
    "signal",
]

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.pem]
version = "1.1.1"

[dependencies.quinn]
version = "0.11.11"

[dependencies.rand]
version = "0.9.4"

[dependencies.rustls]
version = "0.23.41"
features = ["std"]
default-features = false

[dependencies.smallvec]
version = "1.15.2"
features = ["union"]
default-features = false

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

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

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

[dependencies.solana-net-utils]
version = "=4.2.2"
features = ["agave-unstable-api"]

[dependencies.solana-packet]
version = ">=4.1.0,<4.3.0"

[dependencies.solana-perf]
version = "=4.2.2"
features = ["agave-unstable-api"]

[dependencies.solana-pubkey]
version = ">=4.2.0,<4.3.0"
default-features = false

[dependencies.solana-signer]
version = "3.0.1"

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

[dependencies.solana-tls-utils]
version = "=4.2.2"
features = ["agave-unstable-api"]

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

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tokio-util]
version = "0.7.18"
features = ["rt"]

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.chrono]
version = "0.4.45"
features = ["now"]
default-features = false

[dev-dependencies.clap]
version = "4.5.31"
features = [
    "cargo",
    "derive",
    "error-context",
]

[dev-dependencies.solana-message]
version = ">=4.2.3,<4.5.0"

[dev-dependencies.solana-pubkey]
version = ">=4.2.0,<4.3.0"
features = ["rand"]
default-features = false

[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"))',
]