File tree Expand file tree Collapse file tree 4 files changed +6
-22
lines changed
Expand file tree Collapse file tree 4 files changed +6
-22
lines changed Original file line number Diff line number Diff line change 5252 os : [ubuntu-latest, windows-latest]
5353 # When updating this, the reminder to update the minimum supported
5454 # Rust version in Cargo.toml.
55- rust : ['1.48 ']
55+ rust : ['1.63 ']
5656 steps :
5757 - uses : actions/checkout@v3
5858 - name : Install Rust
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name = "async-fs"
66version = " 1.6.0"
77authors = [
" Stjepan Glavina <[email protected] >" ]
88edition = " 2018"
9- rust-version = " 1.48 "
9+ rust-version = " 1.63 "
1010description = " Async filesystem primitives"
1111license = " Apache-2.0 OR MIT"
1212repository = " https://github.com/smol-rs/async-fs"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1091,28 +1091,28 @@ impl std::os::windows::io::AsRawHandle for File {
10911091 }
10921092}
10931093
1094- #[ cfg( all ( not ( async_fs_no_io_safety ) , unix) ) ]
1094+ #[ cfg( unix) ]
10951095impl From < std:: os:: unix:: io:: OwnedFd > for File {
10961096 fn from ( fd : std:: os:: unix:: io:: OwnedFd ) -> Self {
10971097 File :: from ( std:: fs:: File :: from ( fd) )
10981098 }
10991099}
11001100
1101- #[ cfg( all ( not ( async_fs_no_io_safety ) , windows) ) ]
1101+ #[ cfg( windows) ]
11021102impl From < std:: os:: windows:: io:: OwnedHandle > for File {
11031103 fn from ( fd : std:: os:: windows:: io:: OwnedHandle ) -> Self {
11041104 File :: from ( std:: fs:: File :: from ( fd) )
11051105 }
11061106}
11071107
1108- #[ cfg( all ( not ( async_fs_no_io_safety ) , unix) ) ]
1108+ #[ cfg( unix) ]
11091109impl std:: os:: unix:: io:: AsFd for File {
11101110 fn as_fd ( & self ) -> std:: os:: unix:: io:: BorrowedFd < ' _ > {
11111111 self . file . as_fd ( )
11121112 }
11131113}
11141114
1115- #[ cfg( all ( not ( async_fs_no_io_safety ) , windows) ) ]
1115+ #[ cfg( windows) ]
11161116impl std:: os:: windows:: io:: AsHandle for File {
11171117 fn as_handle ( & self ) -> std:: os:: windows:: io:: BorrowedHandle < ' _ > {
11181118 self . file . as_handle ( )
You can’t perform that action at this time.
0 commit comments