fix lightning, add corsair; update packages
This commit is contained in:
parent
bca70e2d5b
commit
24437b5520
4 changed files with 209 additions and 72 deletions
|
@ -6,13 +6,13 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
serde_json = "1.0.89"
|
||||
serde = "1.0.149"
|
||||
async-graphql = { version = "5.0.3", features = ["chrono"] }
|
||||
axum = "0.6.1"
|
||||
serde_json = "1.0.91"
|
||||
serde = "1.0.152"
|
||||
async-graphql = { version = "5.0.5", features = ["chrono"] }
|
||||
axum = "0.6.3"
|
||||
sqlx = { version = "0.6.2", default_features = false, features = [ "runtime-tokio-rustls", "postgres", "chrono" ] }
|
||||
tokio = { version = "1.23.0", features = ["macros", "rt-multi-thread"] }
|
||||
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
|
||||
tower-http = { version = "0.3.5", features = ["cors"] }
|
||||
lazy_static = "1.4.0"
|
||||
reqwest = "0.11.13"
|
||||
reqwest = "0.11.14"
|
||||
chrono = "0.4.23"
|
|
@ -135,12 +135,18 @@ impl Vehicles {
|
|||
vehicle_name: "javelin".to_string(),
|
||||
}
|
||||
}
|
||||
async fn corsair(&self) -> Vehicle {
|
||||
Vehicle {
|
||||
filters: self.filters.clone(),
|
||||
vehicle_name: "corsair".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
// Tanks
|
||||
async fn lightning(&self) -> Vehicle {
|
||||
Vehicle {
|
||||
filters: self.filters.clone(),
|
||||
vehicle_name: "javelin".to_string(),
|
||||
vehicle_name: "lightning".to_string(),
|
||||
}
|
||||
}
|
||||
async fn prowler(&self) -> Vehicle {
|
||||
|
|
|
@ -8,13 +8,13 @@ edition = "2021"
|
|||
[dependencies]
|
||||
lazy_static = "1.4.0"
|
||||
tokio-tungstenite = { version = "0.18.0", features=["rustls-tls-webpki-roots"] }
|
||||
serde = { version = "1.0.149", features = ["derive"] }
|
||||
serde_json = "1.0.89"
|
||||
tokio = { version = "1.23.0", features = ["macros", "rt-multi-thread"] }
|
||||
serde = { version = "1.0.152", features = ["derive"] }
|
||||
serde_json = "1.0.91"
|
||||
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
|
||||
sqlx = { version = "0.6.2", default_features = false, features = [ "runtime-tokio-rustls" , "postgres" ] }
|
||||
url = "2.3.1"
|
||||
futures-util = "0.3.25"
|
||||
futures = "0.3.25"
|
||||
async_once = "0.2.6"
|
||||
serde-aux = "4.1.2"
|
||||
axum = "0.6.1"
|
||||
axum = "0.6.3"
|
Loading…
Add table
Add a link
Reference in a new issue