From 397bf3c41410e4fb427110ea2d0ed100e60603e8 Mon Sep 17 00:00:00 2001 From: TotallyNot <44345987+TotallyNot@users.noreply.github.com> Date: Thu, 23 May 2024 13:25:30 +0200 Subject: [PATCH] remove bazaar ID --- torn-api/Cargo.toml | 8 ++++---- torn-api/src/market.rs | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/torn-api/Cargo.toml b/torn-api/Cargo.toml index 21f2207..3a263a0 100644 --- a/torn-api/Cargo.toml +++ b/torn-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "torn-api" -version = "0.7.2" +version = "0.7.3" edition = "2021" rust-version = "1.75.0" authors = ["Pyrit [2111649]"] @@ -35,7 +35,7 @@ async-trait = "0.1" thiserror = "1" futures = "0.3" -reqwest = { version = "0.11", default-features = false, features = [ "json" ], optional = true } +reqwest = { version = "0.12", default-features = false, features = [ "json" ], optional = true } awc = { version = "3", default-features = false, optional = true } rust_decimal = { version = "1", default-features = false, optional = true, features = [ "serde" ] } @@ -46,6 +46,6 @@ actix-rt = { version = "2.7.0" } dotenv = "0.15.0" tokio = { version = "1.20.1", features = ["test-util", "rt", "macros"] } tokio-test = "0.4.2" -reqwest = { version = "0.11", default-features = true } +reqwest = { version = "0.12", default-features = true } awc = { version = "3", features = [ "rustls" ] } -criterion = "0.3" +criterion = "0.5" diff --git a/torn-api/src/market.rs b/torn-api/src/market.rs index 8db1a88..9cbcc19 100644 --- a/torn-api/src/market.rs +++ b/torn-api/src/market.rs @@ -10,8 +10,6 @@ pub enum MarketSelection { #[derive(Clone, Debug, Deserialize)] pub struct BazaarItem { - #[serde(rename = "ID")] - pub id: u32, pub cost: u64, pub quantity: u32, }