mirror of
https://github.com/floor-licker/polyfill-rs.git
synced 2026-08-25 18:38:09 +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"
|
dotenvy = "0.15"
|
||||||
|
|
||||||
# Ethereum and crypto
|
# Ethereum and crypto
|
||||||
alloy-primitives = "0.8.26"
|
alloy-primitives = "1"
|
||||||
alloy-sol-types = { version = "0.8.26", features = ["eip712-serde", "json"] }
|
alloy-sol-types = { version = "1", features = ["eip712-serde", "json"] }
|
||||||
alloy-signer = { version = "0.7", features = ["eip712"] }
|
alloy-signer = { version = "1", features = ["eip712"] }
|
||||||
alloy-signer-local = { version = "0.7", features = ["eip712"] }
|
alloy-signer-local = { version = "1", features = ["eip712"] }
|
||||||
|
|
||||||
# Numeric types
|
# Numeric types
|
||||||
rust_decimal = { version = "1.36", features = ["serde-with-str"] }
|
rust_decimal = { version = "1.36", features = ["serde-with-str"] }
|
||||||
@@ -70,11 +70,15 @@ tokio-test = "0.4"
|
|||||||
mockito = "1.0"
|
mockito = "1.0"
|
||||||
proptest = "1.0"
|
proptest = "1.0"
|
||||||
env_logger = "0.10"
|
env_logger = "0.10"
|
||||||
polymarket-rs-client = "0.1.1"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["stream"]
|
default = ["stream"]
|
||||||
stream = ["tokio-tungstenite"]
|
stream = ["tokio-tungstenite"]
|
||||||
|
side-by-side-benchmark = []
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "side_by_side_benchmark"
|
||||||
|
required-features = ["side-by-side-benchmark"]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "book_updates"
|
name = "book_updates"
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
//! Side-by-side benchmark comparing polyfill-rs vs polymarket-rs-client
|
//! Side-by-side benchmark comparing polyfill-rs vs polymarket-rs-client
|
||||||
//!
|
//!
|
||||||
//! To run this benchmark, uncomment the polymarket-rs-client dependency in Cargo.toml:
|
//! To run this benchmark:
|
||||||
//! ```toml
|
//! 1. Add a compatible `polymarket-rs-client` dependency in `Cargo.toml`.
|
||||||
//! [dev-dependencies]
|
//! 2. Run with `cargo run --example side_by_side_benchmark --features side-by-side-benchmark`.
|
||||||
//! polymarket-rs-client = { path = "external/polymarket-rs-client" }
|
|
||||||
//! ```
|
|
||||||
|
|
||||||
use std::time::Instant;
|
use std::time::Instant;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user