chore(torn-api): version 4.2.0
This commit is contained in:
parent
5c138d94d0
commit
3d80414441
4 changed files with 626 additions and 57 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -2294,7 +2294,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "torn-api"
|
name = "torn-api"
|
||||||
version = "4.1.1"
|
version = "4.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bon",
|
"bon",
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|
@ -2329,7 +2329,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "torn-key-pool"
|
name = "torn-key-pool"
|
||||||
version = "1.2.0"
|
version = "2.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"futures",
|
"futures",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "torn-api"
|
name = "torn-api"
|
||||||
version = "4.1.1"
|
version = "4.2.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Auto-generated bindings for the v2 torn api"
|
description = "Auto-generated bindings for the v2 torn api"
|
||||||
license = { workspace = true }
|
license = { workspace = true }
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -9,12 +9,14 @@ pub(super) mod test {
|
||||||
use crate::{
|
use crate::{
|
||||||
executor::{ExecutorExt, ReqwestClient},
|
executor::{ExecutorExt, ReqwestClient},
|
||||||
models::{
|
models::{
|
||||||
faction_selection_name::FactionSelectionNameVariant,
|
faction_selection_name::FactionSelectionNameVariant, AttackCode,
|
||||||
user_selection_name::UserSelectionNameVariant, AttackCode, PersonalStatsCategoryEnum,
|
PersonalStatsCategoryEnum, PersonalStatsStatName, UserListEnum,
|
||||||
PersonalStatsStatName, UserListEnum,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[cfg(feature = "strum")]
|
||||||
|
use crate::models::user_selection_name::UserSelectionNameVariant;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
static TICKETS: OnceLock<mpsc::Sender<mpsc::Sender<ReqwestClient>>> = OnceLock::new();
|
static TICKETS: OnceLock<mpsc::Sender<mpsc::Sender<ReqwestClient>>> = OnceLock::new();
|
||||||
|
|
@ -499,14 +501,14 @@ pub(super) mod test {
|
||||||
racing_scope.carupgrades(|b| b).await.unwrap();
|
racing_scope.carupgrades(|b| b).await.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* #[tokio::test]
|
#[tokio::test]
|
||||||
async fn racing_races() {
|
async fn racing_races() {
|
||||||
let client = test_client().await;
|
let client = test_client().await;
|
||||||
|
|
||||||
let racing_scope = RacingScope(&client);
|
let racing_scope = RacingScope(&client);
|
||||||
|
|
||||||
racing_scope.races(|b| b).await.unwrap();
|
racing_scope.races(|b| b).await.unwrap();
|
||||||
} */
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn racing_race_for_race_id() {
|
async fn racing_race_for_race_id() {
|
||||||
|
|
@ -1144,6 +1146,8 @@ pub(super) mod test {
|
||||||
let client = test_client().await;
|
let client = test_client().await;
|
||||||
|
|
||||||
client.user().profile(|b| b).await.unwrap();
|
client.user().profile(|b| b).await.unwrap();
|
||||||
|
|
||||||
|
client.user().profile_for_id(4.into(), |b| b).await.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue