fix: changed rust edition to 2021
This commit is contained in:
parent
b069c7e493
commit
26043ac318
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -2271,7 +2271,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "torn-api"
|
||||
version = "1.0.1"
|
||||
version = "1.0.2"
|
||||
dependencies = [
|
||||
"bon",
|
||||
"bytes",
|
||||
|
@ -2290,7 +2290,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "torn-api-codegen"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"indexmap",
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[package]
|
||||
name = "torn-api-codegen"
|
||||
authors = ["Pyrit [2111649]"]
|
||||
version = "0.1.3"
|
||||
edition = "2024"
|
||||
version = "0.1.4"
|
||||
edition = "2021"
|
||||
description = "Contains the v2 torn API model descriptions and codegen for the bindings"
|
||||
license-file = { workspace = true }
|
||||
repository = { workspace = true }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "torn-api"
|
||||
version = "1.0.1"
|
||||
edition = "2024"
|
||||
version = "1.0.2"
|
||||
edition = "2021"
|
||||
description = "Auto-generated bindings for the v2 torn api"
|
||||
license-file = { workspace = true }
|
||||
repository = { workspace = true }
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
use http::{HeaderMap, HeaderValue, header::AUTHORIZATION};
|
||||
use std::future::Future;
|
||||
|
||||
use http::{header::AUTHORIZATION, HeaderMap, HeaderValue};
|
||||
use serde::Deserialize;
|
||||
|
||||
use crate::{
|
||||
|
@ -138,7 +140,7 @@ impl Executor for ReqwestClient {
|
|||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use crate::{ApiError, Error, scopes::test::test_client};
|
||||
use crate::{scopes::test::test_client, ApiError, Error};
|
||||
|
||||
use super::*;
|
||||
|
||||
|
|
Loading…
Reference in a new issue