Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite91c038

Browse files
committed
update MSRV to1.86.0
1 parent299f273 commite91c038

File tree

193 files changed

+579
-519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+579
-519
lines changed

‎.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
fail-fast:false
5050
matrix:
5151
include:
52-
-{ rust: 1.83.0, os: ubuntu-22.04 }
52+
-{ rust: 1.86.0, os: ubuntu-22.04 }
5353
steps:
5454
-name:Checkout
5555
uses:actions/checkout@v4

‎.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
-name:Install stable toolchain
1616
uses:dtolnay/rust-toolchain@stable
1717
with:
18-
toolchain:1.83.0
18+
toolchain:1.86.0
1919
-name:Rust Cache
2020
uses:Swatinem/rust-cache@v2
2121
-name:Install cargo-llvm-cov

‎.rustfmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
edition ="2021"
1+
edition ="2024"
22
newline_style ="Unix"
33
# comments
44
normalize_comments =true

‎CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on[Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
#[Unreleased]
8+
9+
- update MSRV to`1.86.0`
10+
711
#[7.0.16] 2025-03-20
812

913
- dynamic: fixed`__typename` always returned`null` when introspection was disabled.

‎Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ authors = ["sunli <scott_s829@163.com>", "Koxiaet"]
33
categories = ["network-programming","asynchronous"]
44
description ="A GraphQL server library implemented in Rust"
55
documentation ="https://docs.rs/async-graphql/"
6-
edition ="2021"
7-
rust-version ="1.83.0"
6+
edition ="2024"
7+
rust-version ="1.86.0"
88
homepage ="https://github.com/async-graphql/async-graphql"
99
keywords = ["futures","async","graphql"]
1010
license ="MIT OR Apache-2.0"

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ I strongly recommend limiting the [complexity and depth](https://async-graphql.g
124124
- Apollo Tracing extension
125125
- Apollo Federation(v2)
126126

127-
>**Note**: Minimum supported Rust version: 1.83.0 or later
127+
>**Note**: Minimum supported Rust version: 1.86.0 or later
128128
129129
##Examples
130130

‎benches/static_schema.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
use std::collections::HashMap;
22

33
use async_graphql::{
4-
connection::{query,Connection,Edge},
5-
Context,Enum,Error,Interface,Object,OutputType,Result,*,
4+
Context,Enum,Error,Interface,Object,OutputType,Result,
5+
connection::{Connection,Edge, query},
6+
*,
67
};
7-
use criterion::{criterion_group, criterion_main,Criterion};
8+
use criterion::{Criterion, criterion_group, criterion_main};
89
use slab::Slab;
910

1011
pubstructStarWarsChar{

‎derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ authors = ["sunli <scott_s829@163.com>", "Koxiaet"]
33
categories = ["network-programming","asynchronous"]
44
description ="Macros for async-graphql"
55
documentation ="https://docs.rs/async-graphql/"
6-
edition ="2021"
6+
edition ="2024"
77
homepage ="https://github.com/async-graphql/async-graphql"
88
keywords = ["futures","async","graphql"]
99
license ="MIT OR Apache-2.0"

‎derive/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#![allow(dead_code)]
22

33
use darling::{
4+
FromDeriveInput,FromField,FromMeta,FromVariant,
45
ast::{Data,Fields,NestedMeta},
56
util::{Ignored,SpannedValue},
6-
FromDeriveInput,FromField,FromMeta,FromVariant,
77
};
88
use inflector::Inflector;
99
use quote::format_ident;

‎derive/src/complex_object.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ use proc_macro::TokenStream;
44
use proc_macro2::Ident;
55
use quote::quote;
66
use syn::{
7-
ext::IdentExt, punctuated::Punctuated,Block,Error,FnArg,ImplItem,ItemImpl,Pat,
8-
ReturnType,Token,Type,TypeReference,
7+
Block,Error,FnArg,ImplItem,ItemImpl,Pat,ReturnType,Token,Type,TypeReference,
8+
ext::IdentExt, punctuated::Punctuated,
99
};
1010

1111
usecrate::{
1212
args::{self,RenameRuleExt,RenameTarget,TypeDirectiveLocation},
1313
output_type::OutputType,
1414
utils::{
15-
extract_input_args, gen_boxed_trait, gen_deprecation, gen_directive_calls,
15+
GeneratorResult,extract_input_args, gen_boxed_trait, gen_deprecation, gen_directive_calls,
1616
generate_default, generate_guards, get_cfg_attrs, get_crate_name, get_rustdoc,
1717
get_type_path_and_name, parse_complexity_expr, parse_graphql_attrs, remove_graphql_attrs,
18-
visible_fn,GeneratorResult,
18+
visible_fn,
1919
},
2020
};
2121

@@ -138,7 +138,7 @@ pub fn generate(
138138
&method.sig.output,
139139
"Flatten resolver must have a return type",
140140
)
141-
.into())
141+
.into());
142142
}
143143
};
144144
let ty = ty.value_type();
@@ -329,7 +329,7 @@ pub fn generate(
329329
&method.sig.output,
330330
"Resolver must have a return type",
331331
)
332-
.into())
332+
.into());
333333
}
334334
};
335335
let schema_ty = ty.value_type();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp