semioscan 0.15.1

Production-grade Rust library for blockchain analytics: gas calculation, price extraction, and block window calculations for EVM chains
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.92"
name = "semioscan"
version = "0.15.1"
authors = ["Joseph Livesey <jlivesey@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-grade Rust library for blockchain analytics: gas calculation, price extraction, and block window calculations for EVM chains"
homepage = "https://github.com/suchapalaver/semioscan"
documentation = "https://docs.rs/semioscan"
readme = "README.md"
keywords = [
    "ethereum",
    "blockchain",
    "analytics",
    "defi",
    "evm",
]
categories = [
    "cryptography::cryptocurrencies",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/suchapalaver/semioscan"

[features]
blocks = []
default = [
    "blocks",
    "events",
    "gas",
    "price",
    "provider",
    "retrieval",
    "transport",
]
events = []
gas = ["events"]
price = ["dep:alloy-erc20"]
provider = ["transport"]
retrieval = [
    "events",
    "gas",
    "dep:alloy-erc20",
]
transport = []
ws = [
    "provider",
    "alloy-provider/pubsub",
    "alloy-provider/ws",
]

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

[[example]]
name = "custom_dex_integration"
path = "examples/custom_dex_integration.rs"
required-features = ["price"]

[[example]]
name = "daily_block_window"
path = "examples/daily_block_window.rs"
required-features = ["blocks"]

[[example]]
name = "eip4844_blob_gas"
path = "examples/eip4844_blob_gas.rs"
required-features = ["gas"]

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

[[example]]
name = "zksync_combined_probe"
path = "examples/zksync_combined_probe.rs"
required-features = [
    "retrieval",
    "provider",
]

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

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

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

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

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

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

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

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

[dependencies.alloy-chains]
version = "0.2"
features = ["serde"]

[dependencies.alloy-consensus]
version = "2.0"
default-features = false

[dependencies.alloy-contract]
version = "2.0"
default-features = false

[dependencies.alloy-dyn-abi]
version = "1.6"
default-features = false

[dependencies.alloy-eips]
version = "2.0"
default-features = false

[dependencies.alloy-erc20]
version = "2.0"
optional = true
default-features = false

[dependencies.alloy-json-rpc]
version = "2.0"

[dependencies.alloy-network]
version = "2.0"
default-features = false

[dependencies.alloy-primitives]
version = "1.6"
features = [
    "std",
    "rlp",
]
default-features = false

[dependencies.alloy-provider]
version = "2.0"
features = [
    "anvil-node",
    "reqwest",
]
default-features = false

[dependencies.alloy-rpc-client]
version = "2.0"

[dependencies.alloy-rpc-types]
version = "2.0"

[dependencies.alloy-sol-type-parser]
version = "1.6"

[dependencies.alloy-sol-types]
version = "1.6"
features = ["json"]

[dependencies.alloy-transport]
version = "2.0"

[dependencies.alloy-transport-http]
version = "2.0"
features = ["reqwest"]
default-features = false

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

[dependencies.bigdecimal]
version = "0.4"
features = ["serde"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures]
version = "0.3"
features = [
    "alloc",
    "std",
]
default-features = false

[dependencies.op-alloy-network]
version = "2.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tower]
version = "0.5"
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"
default-features = false

[dev-dependencies.alloy-consensus]
version = "2.0"

[dev-dependencies.alloy-transport]
version = "2.0"

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

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.proptest]
version = "1.11"

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

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

[dev-dependencies.tokio-tungstenite]
version = "0.28"
features = ["handshake"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "ansi",
    "env-filter",
    "fmt",
    "json",
]
default-features = false