docs: versioning

This commit is contained in:
floor-licker
2026-01-01 15:14:17 -05:00
parent 8a90c2e57f
commit 9dffa85410
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ pub fn create_optimized_client() -> Result<Client, reqwest::Error> {
// 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<Client, reqwest::Error> {
// 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<Client, reqwest::Error> {
.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()
}