mirror of
https://github.com/floor-licker/polyfill-rs.git
synced 2026-07-27 20:47:46 +00:00
chore(cargo): fix manifest and dev dep
- Remove duplicate package key in Cargo.toml - Add local polymarket-rs-client dev-dependency for examples
This commit is contained in:
Generated
+84
@@ -2686,6 +2686,7 @@ dependencies = [
|
||||
"hickory-resolver",
|
||||
"hmac",
|
||||
"mockito",
|
||||
"polymarket-rs-client",
|
||||
"proptest",
|
||||
"rand 0.8.5",
|
||||
"reqwest",
|
||||
@@ -2705,6 +2706,28 @@ dependencies = [
|
||||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "polymarket-rs-client"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"alloy-signer",
|
||||
"alloy-signer-local",
|
||||
"alloy-sol-types",
|
||||
"anyhow",
|
||||
"base64",
|
||||
"hmac",
|
||||
"rand 0.8.5",
|
||||
"reqwest",
|
||||
"rust_decimal",
|
||||
"serde",
|
||||
"serde-json-fmt",
|
||||
"serde_json",
|
||||
"sha1",
|
||||
"sha2",
|
||||
"ureq",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "potential_utf"
|
||||
version = "0.1.4"
|
||||
@@ -3217,7 +3240,9 @@ version = "0.23.35"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f"
|
||||
dependencies = [
|
||||
"log",
|
||||
"once_cell",
|
||||
"ring",
|
||||
"rustls-pki-types",
|
||||
"rustls-webpki",
|
||||
"subtle",
|
||||
@@ -3369,6 +3394,17 @@ dependencies = [
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde-json-fmt"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a4a33b7a5f52a26d520099339add40c48baf2e5ada194c8cc1b18cafa2b5e419"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
"smartstring",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_core"
|
||||
version = "1.0.228"
|
||||
@@ -3539,6 +3575,17 @@ dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "smartstring"
|
||||
version = "1.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"static_assertions",
|
||||
"version_check",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "socket2"
|
||||
version = "0.5.10"
|
||||
@@ -4112,6 +4159,25 @@ version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
||||
|
||||
[[package]]
|
||||
name = "ureq"
|
||||
version = "2.12.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"encoding_rs",
|
||||
"flate2",
|
||||
"log",
|
||||
"once_cell",
|
||||
"rustls",
|
||||
"rustls-pki-types",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"url",
|
||||
"webpki-roots 0.26.11",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "url"
|
||||
version = "2.5.7"
|
||||
@@ -4302,6 +4368,24 @@ dependencies = [
|
||||
"wasm-bindgen",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "webpki-roots"
|
||||
version = "0.26.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
|
||||
dependencies = [
|
||||
"webpki-roots 1.0.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "webpki-roots"
|
||||
version = "1.0.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "12bed680863276c63889429bfd6cab3b99943659923822de1c8a39c49e4d722c"
|
||||
dependencies = [
|
||||
"rustls-pki-types",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "widestring"
|
||||
version = "1.2.1"
|
||||
|
||||
+2
-3
@@ -11,7 +11,6 @@ keywords = ["polymarket", "trading", "prediction-market", "kalshi", "clob", "cry
|
||||
categories = ["api-bindings", "network-programming", "finance", "prediction-markets", "polymarket", "kalshi", "clob"]
|
||||
documentation = "https://docs.rs/polyfill-rs"
|
||||
homepage = "https://github.com/floor-licker/polyfill-rs"
|
||||
license = "MIT OR Apache-2.0"
|
||||
[dependencies]
|
||||
# Pin base64ct to avoid Edition 2024 requirement
|
||||
base64ct = "=1.6.0"
|
||||
@@ -71,7 +70,7 @@ tokio-test = "0.4"
|
||||
mockito = "1.0"
|
||||
proptest = "1.0"
|
||||
env_logger = "0.10"
|
||||
# polymarket-rs-client = { path = "external/polymarket-rs-client" } # Uncomment to run side-by-side benchmark
|
||||
polymarket-rs-client = { path = "external/polymarket-rs-client" }
|
||||
|
||||
[features]
|
||||
default = ["stream"]
|
||||
@@ -107,4 +106,4 @@ opt-level = 1
|
||||
[profile.test]
|
||||
# Optimizations for test performance
|
||||
opt-level = 2
|
||||
debug = true
|
||||
debug = true
|
||||
|
||||
Reference in New Issue
Block a user