alloy-flashblocks 0.1.0

Stream Base L2 flashblocks and query preconfirmation state using Alloy.
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 = "2021"
rust-version = "1.81"
name = "alloy-flashblocks"
version = "0.1.0"
authors = ["skanda"]
build = false
exclude = [
    ".env",
    ".env.*",
    ".claude/",
    "AGENTS.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Stream Base L2 flashblocks and query preconfirmation state using Alloy.
"""
homepage = "https://github.com/SkandaBhat/alloy-flashblocks"
documentation = "https://docs.rs/alloy-flashblocks"
readme = "README.md"
keywords = [
    "ethereum",
    "base",
    "flashblocks",
    "alloy",
    "preconfirmation",
]
categories = [
    "cryptography::cryptocurrencies",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/SkandaBhat/alloy-flashblocks"

[features]
default = ["reqwest"]
hyper = ["alloy/hyper"]
reqwest = [
    "alloy/reqwest",
    "alloy/reqwest-default-tls",
]

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

[[example]]
name = "flashblock_state"
path = "examples/flashblock_state.rs"
required-features = ["reqwest"]

[[example]]
name = "poll_flashblocks"
path = "examples/poll_flashblocks.rs"
required-features = ["reqwest"]

[[example]]
name = "preconfirmation"
path = "examples/preconfirmation.rs"
required-features = ["reqwest"]

[dependencies.alloy]
version = "1.1.0"
features = [
    "rpc",
    "rpc-client",
    "rpc-types",
    "network",
    "providers",
    "transports",
    "transport-http",
]
default-features = false

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

[dependencies.tokio]
version = "1.48"
features = ["time"]

[dev-dependencies.alloy]
version = "1.1.0"
features = [
    "signers",
    "signer-local",
]

[dev-dependencies.eyre]
version = "0.6"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "rt-multi-thread",
    "macros",
]