From 9dffa85410186b5398058e0bb42e4a9f25a92322 Mon Sep 17 00:00:00 2001 From: floor-licker Date: Thu, 1 Jan 2026 15:14:17 -0500 Subject: [PATCH] docs: versioning --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 6 +++--- src/http_config.rs | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c2f8a00..90a3b95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2667,7 +2667,7 @@ dependencies = [ [[package]] name = "polyfill-rs" -version = "0.2.1" +version = "0.2.2" dependencies = [ "alloy-primitives", "alloy-signer", diff --git a/Cargo.toml b/Cargo.toml index 8df860d..1554a83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polyfill-rs" -version = "0.2.1" +version = "0.2.2" edition = "2021" authors = ["Julius Tranquilli "] description = "The Fastest Polymarket Client On The Market." diff --git a/README.md b/README.md index 07f76a4..afdb06c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add to your `Cargo.toml`: ```toml [dependencies] -polyfill-rs = "0.2.1" +polyfill-rs = "0.2.2" ``` Replace your imports: @@ -120,7 +120,7 @@ All benchmarks use identical testing methodology and are reproducible on any mac 1. **Update Cargo.toml:** ```toml # Before: polymarket-rs-client = "0.x.x" - polyfill-rs = "0.2.1" + polyfill-rs = "0.2.2" ``` 2. **Update imports:** @@ -278,7 +278,7 @@ let client = ClobClient::new("https://clob.polymarket.com"); ```toml [dependencies] -polyfill-rs = "0.2.1" +polyfill-rs = "0.2.2" ``` ## Basic Usage diff --git a/src/http_config.rs b/src/http_config.rs index ef41b97..47db4de 100644 --- a/src/http_config.rs +++ b/src/http_config.rs @@ -37,7 +37,7 @@ pub fn create_optimized_client() -> Result { // Compression - all algorithms enabled by default in reqwest .gzip(true) // Ensure gzip is enabled // User agent for identification - .user_agent("polyfill-rs/0.1.1 (high-frequency-trading)") + .user_agent("polyfill-rs/0.2.2 (high-frequency-trading)") .build() } @@ -62,7 +62,7 @@ pub fn create_colocated_client() -> Result { // Disable compression in co-located environments (CPU vs network tradeoff) .gzip(false) .no_brotli() // Disable brotli compression - .user_agent("polyfill-rs/0.1.1 (colocated-hft)") + .user_agent("polyfill-rs/0.2.2 (colocated-hft)") .build() } @@ -83,7 +83,7 @@ pub fn create_internet_client() -> Result { .http1_title_case_headers() // Enable compression (gzip and brotli are enabled by default) .gzip(true) - .user_agent("polyfill-rs/0.1.1 (internet-trading)") + .user_agent("polyfill-rs/0.2.2 (internet-trading)") .build() }