added faction tag

This commit is contained in:
TotallyNot 2023-11-19 12:09:01 +01:00
parent c320036cd0
commit fee278e895
3 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "torn-api"
version = "0.6.0"
version = "0.6.1"
edition = "2021"
authors = ["Pyrit [2111649]"]
license = "MIT"

View file

@ -76,6 +76,9 @@ pub struct Basic<'a> {
pub capacity: i16,
pub best_chain: i32,
#[serde(deserialize_with = "de_util::empty_string_is_none")]
pub tag_image: Option<&'a str>,
#[serde(borrow)]
pub members: BTreeMap<i32, Member<'a>>,

View file

@ -17,7 +17,7 @@ tokio-runtime = [ "dep:tokio", "dep:rand" ]
actix-runtime = [ "dep:actix-rt", "dep:rand" ]
[dependencies]
torn-api = { path = "../torn-api", default-features = false, version = "0.5.10" }
torn-api = { path = "../torn-api", default-features = false, version = "0.6" }
async-trait = "0.1"
thiserror = "1"