fix Competition deserialisation
This commit is contained in:
parent
3b1da4d708
commit
6e1135e102
10 changed files with 405 additions and 155 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "torn-api"
|
||||
version = "0.5.3"
|
||||
version = "0.5.4"
|
||||
edition = "2021"
|
||||
authors = ["Pyrit [2111649]"]
|
||||
license = "MIT"
|
||||
|
|
@ -13,9 +13,16 @@ name = "deserialisation_benchmark"
|
|||
harness = false
|
||||
|
||||
[features]
|
||||
default = [ "reqwest" ]
|
||||
default = [ "reqwest", "user", "faction", "torn" ]
|
||||
reqwest = [ "dep:reqwest" ]
|
||||
awc = [ "dep:awc" ]
|
||||
decimal = [ "dep:rust_decimal" ]
|
||||
|
||||
user = [ "__common" ]
|
||||
faction = [ "__common" ]
|
||||
torn = [ "__common" ]
|
||||
|
||||
__common = []
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1", features = [ "derive" ] }
|
||||
|
|
@ -28,6 +35,7 @@ futures = "0.3"
|
|||
|
||||
reqwest = { version = "0.11", 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" ] }
|
||||
|
||||
torn-api-macros = { path = "../torn-api-macros", version = "0.1.1" }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue