feat: create rust-testing module
This commit is contained in:
1
protocol-testing/.clippy.toml
Normal file
1
protocol-testing/.clippy.toml
Normal file
@@ -0,0 +1 @@
|
||||
allow-dbg-in-tests = true
|
||||
4646
protocol-testing/Cargo.lock
generated
Normal file
4646
protocol-testing/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
21
protocol-testing/Cargo.toml
Normal file
21
protocol-testing/Cargo.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
[package]
|
||||
name = "protocol-testing"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
# Logging & Tracing
|
||||
tracing = "0.1.37"
|
||||
# Tycho dependencies
|
||||
tycho-core = { git = "https://github.com/propeller-heads/tycho-indexer.git", package = "tycho-core", tag = "0.56.5" }
|
||||
tycho-client = { git = "https://github.com/propeller-heads/tycho-indexer.git", package = "tycho-client", tag = "0.56.5" }
|
||||
# EVM dependencies
|
||||
alloy = { version = "0.5.4", features = ["arbitrary", "json", "dyn-abi", "sol-types", "contract", "provider-http"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
serde_json = "1.0.140"
|
||||
clap = "4.5.31"
|
||||
figment = { version = "0.10.19", features = ["yaml"] }
|
||||
serde = { version = "1.0.218", features = ["derive"] }
|
||||
hex = "0.4.3"
|
||||
tracing-subscriber = "0.3.19"
|
||||
postgres = "0.19.10"
|
||||
3
protocol-testing/rust-toolchain.toml
Normal file
3
protocol-testing/rust-toolchain.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly"
|
||||
components = ["rustfmt"]
|
||||
11
protocol-testing/rustfmt.toml
Normal file
11
protocol-testing/rustfmt.toml
Normal file
@@ -0,0 +1,11 @@
|
||||
reorder_imports = true
|
||||
imports_granularity = "Crate"
|
||||
use_small_heuristics = "Max"
|
||||
comment_width = 100
|
||||
wrap_comments = true
|
||||
binop_separator = "Back"
|
||||
trailing_comma = "Vertical"
|
||||
trailing_semicolon = false
|
||||
use_field_init_shorthand = true
|
||||
chain_width=40
|
||||
group_imports = "StdExternalCrate"
|
||||
Reference in New Issue
Block a user