[package]
edition = "2021"
rust-version = "1.97"
name = "degenbot-simulation"
version = "0.6.0-alpha.14"
authors = ["BowTiedDevil <devil@bowtieddevil.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "In-process revm simulation executor + dispatch fan-out (pyo3-free core; ADR-019 D4 fold)."
readme = "README.md"
keywords = [
"simulation",
"revm",
"evm",
"mev",
]
license = "MIT"
repository = "https://github.com/BowTiedDevil/degenbot"
resolver = "3"
[lib]
name = "degenbot_simulation"
path = "src/lib.rs"
[[example]]
name = "block_replay_spike"
path = "examples/block_replay_spike.rs"
[[example]]
name = "rpc_cache_fanout"
path = "examples/rpc_cache_fanout.rs"
[[example]]
name = "swap_capture_correctness"
path = "examples/swap_capture_correctness.rs"
[[test]]
name = "frame_oracle"
path = "tests/frame_oracle.rs"
[[test]]
name = "frame_replay"
path = "tests/frame_replay.rs"
[[test]]
name = "harness_artifact_probes"
path = "tests/harness_artifact_probes.rs"
[[test]]
name = "harness_declarative"
path = "tests/harness_declarative.rs"
[[test]]
name = "harness_poolv3"
path = "tests/harness_poolv3.rs"
[[test]]
name = "inspector_composition"
path = "tests/inspector_composition.rs"
[[test]]
name = "journal_pools"
path = "tests/journal_pools.rs"
[[test]]
name = "spike_derivation"
path = "tests/spike_derivation.rs"
[[test]]
name = "tier3_executor_artifacts"
path = "tests/tier3_executor_artifacts.rs"
[[test]]
name = "tier3_executor_deploy"
path = "tests/tier3_executor_deploy.rs"
[[test]]
name = "tier3_harness_artifacts"
path = "tests/tier3_harness_artifacts.rs"
[[test]]
name = "tier3_pancake_v2_initcode"
path = "tests/tier3_pancake_v2_initcode.rs"
[[test]]
name = "tier3_pancake_v3_swap_vs_revm"
path = "tests/tier3_pancake_v3_swap_vs_revm.rs"
[[test]]
name = "tier3_v3_pool_swap_vs_revm"
path = "tests/tier3_v3_pool_swap_vs_revm.rs"
[[test]]
name = "tier3_v4_pool_swap_vs_revm"
path = "tests/tier3_v4_pool_swap_vs_revm.rs"
[dependencies.alloy]
version = "^2.5"
features = ["full"]
[dependencies.degenbot-bot]
version = "0.6.0-alpha.14"
[dependencies.degenbot-config]
version = "0.6.0-alpha.14"
[dependencies.degenbot-core]
version = "0.6.0-alpha.14"
[dependencies.degenbot-decoders]
version = "0.6.0-alpha.14"
[dependencies.degenbot-executor]
version = "0.6.0-alpha.14"
[dependencies.degenbot-math]
version = "0.6.0-alpha.14"
[dependencies.degenbot-pools]
version = "0.6.0-alpha.14"
[dependencies.degenbot-rpc]
version = "0.6.0-alpha.14"
[dependencies.degenbot-substrate]
version = "0.6.0-alpha.14"
[dependencies.hashbrown]
version = "0.17"
features = ["default-hasher"]
[dependencies.parking_lot]
version = "^0.12"
[dependencies.revm]
version = "^43.0"
features = [
"alloydb",
"asyncdb",
"blst",
"c-kzg",
"optional_balance_check",
"optional_no_base_fee",
"portable",
"secp256k1",
"std",
"tracer",
]
default-features = false
[dependencies.serde]
version = "^1.0"
features = ["derive"]
[dependencies.serde_json]
version = "^1.0"
[dependencies.thiserror]
version = "^2.0"
[dependencies.tokio]
version = "^1.53"
features = ["rt"]
[dependencies.tower]
version = "^0.5"
default-features = false
[dependencies.tracing]
version = "^0.1"
[dev-dependencies.degenbot-executor]
version = "0.6.0-alpha.14"
[dev-dependencies.degenbot-rpc]
version = "0.6.0-alpha.14"
features = ["test-utils"]
[dev-dependencies.degenbot-uniswap]
version = "0.6.0-alpha.14"
[dev-dependencies.hex]
version = "^0.4"
[dev-dependencies.proptest]
version = "^1.11"
[dev-dependencies.sha2]
version = "0.11"
[dev-dependencies.tokio]
version = "^1.53"
features = [
"macros",
"rt-multi-thread",
]
[lints.clippy]
allow_attributes = "deny"
await_holding_lock = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
panic = "deny"
panic_in_result_fn = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
warnings = "deny"
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(coverage, values(none()))"]