chore: upgrade alloy dependencies to 1.x

This commit is contained in:
floor-licker
2026-02-15 09:38:17 -05:00
parent 29307e4c90
commit 020140a13b
3 changed files with 418 additions and 214 deletions
Generated
+406 -204
View File
File diff suppressed because it is too large Load Diff
+9 -5
View File
@@ -30,10 +30,10 @@ simd-json = "0.13"
dotenvy = "0.15"
# Ethereum and crypto
alloy-primitives = "0.8.26"
alloy-sol-types = { version = "0.8.26", features = ["eip712-serde", "json"] }
alloy-signer = { version = "0.7", features = ["eip712"] }
alloy-signer-local = { version = "0.7", features = ["eip712"] }
alloy-primitives = "1"
alloy-sol-types = { version = "1", features = ["eip712-serde", "json"] }
alloy-signer = { version = "1", features = ["eip712"] }
alloy-signer-local = { version = "1", features = ["eip712"] }
# Numeric types
rust_decimal = { version = "1.36", features = ["serde-with-str"] }
@@ -70,11 +70,15 @@ tokio-test = "0.4"
mockito = "1.0"
proptest = "1.0"
env_logger = "0.10"
polymarket-rs-client = "0.1.1"
[features]
default = ["stream"]
stream = ["tokio-tungstenite"]
side-by-side-benchmark = []
[[example]]
name = "side_by_side_benchmark"
required-features = ["side-by-side-benchmark"]
[[bench]]
name = "book_updates"
+3 -5
View File
@@ -1,10 +1,8 @@
//! Side-by-side benchmark comparing polyfill-rs vs polymarket-rs-client
//!
//! To run this benchmark, uncomment the polymarket-rs-client dependency in Cargo.toml:
//! ```toml
//! [dev-dependencies]
//! polymarket-rs-client = { path = "external/polymarket-rs-client" }
//! ```
//! To run this benchmark:
//! 1. Add a compatible `polymarket-rs-client` dependency in `Cargo.toml`.
//! 2. Run with `cargo run --example side_by_side_benchmark --features side-by-side-benchmark`.
use std::time::Instant;