mirror of
https://github.com/floor-licker/polyfill-rs.git
synced 2026-07-27 20:47:46 +00:00
chore: upgrade alloy dependencies to 1.x
This commit is contained in:
Generated
+406
-204
File diff suppressed because it is too large
Load Diff
+9
-5
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user