# 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" name = "amms" version = "0.6.3" build = false exclude = [ "target/*", ".github/*", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A library to interact with automated market makers across EVM chains." homepage = "https://github.com/darkforestry/amms-rs" readme = "README.md" keywords = [ "ethereum", "amm", "mev", ] license = "MIT" repository = "https://github.com/darkforestry/amms-rs" [profile.dev] opt-level = 3 lto = true codegen-units = 1 debug = 2 [profile.release] opt-level = 3 lto = true codegen-units = 1 panic = "abort" [lib] name = "amms" path = "src/lib.rs" [[example]] name = "discover-erc-4626-vaults" path = "examples/discover-erc-4626-vaults.rs" [[example]] name = "discover-factories" path = "examples/discover-factories.rs" [[example]] name = "filter-value" path = "examples/filter-value.rs" [[example]] name = "simulate-swap" path = "examples/simulate-swap.rs" [[example]] name = "state-space" path = "examples/state-space.rs" [[example]] name = "swap-calldata" path = "examples/swap-calldata.rs" [[example]] name = "sync-amms" path = "examples/sync-amms.rs" [[bench]] name = "state_space" path = "benches/state_space.rs" harness = false [[bench]] name = "uniswapv2_simulate" path = "benches/uniswapv2_simulate.rs" harness = false [dependencies.alloy] version = "0.2" features = [ "contract", "network", "provider-ws", "rpc-types-eth", "signer-local", ] [dependencies.arraydeque] version = "0.5" optional = true [dependencies.async-trait] version = "0.1" [dependencies.eyre] version = "0.6" [dependencies.futures] version = "0.3" [dependencies.lazy_static] version = "1.5" [dependencies.num-bigfloat] version = "1.7" [dependencies.regex] version = "1.10" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.38" default-features = false [dependencies.tracing] version = "0.1" [dependencies.uniswap_v3_math] version = "0.5.1" [dev-dependencies.alloy] version = "0.2" features = ["rpc-client"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio] version = "1.38" features = ["rt-multi-thread"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" [features] artemis = [] default = [ "filters", "state-space", ] filters = [] state-space = ["arraydeque"]