diff --git a/.gitignore b/.gitignore index 3db9ecd..31aafa6 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ /mio-0.8.9.crate /mio-0.8.10.crate /mio-0.8.11.crate +/mio-1.0.1.crate diff --git a/mio-fix-metadata-auto.diff b/mio-fix-metadata-auto.diff index 39f58a9..7b46f2d 100644 --- a/mio-fix-metadata-auto.diff +++ b/mio-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- mio-0.8.11/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ mio-0.8.11/Cargo.toml 2024-03-08T09:26:49.823188+00:00 -@@ -103,26 +103,9 @@ +--- mio-1.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ mio-1.0.1/Cargo.toml 2024-07-28T14:17:26.419522+00:00 +@@ -118,36 +118,11 @@ net = [] os-ext = [ "os-poll", @@ -8,22 +8,37 @@ - "windows-sys/Win32_Security", ] os-poll = [] + +-[target.'cfg(target_os = "hermit")'.dependencies.libc] +-version = "0.3.9" +-package = "hermit-abi" - --[target."cfg(target_os = \"wasi\")".dependencies.libc] +-[target.'cfg(target_os = "wasi")'.dependencies.libc] -version = "0.2.149" - --[target."cfg(target_os = \"wasi\")".dependencies.wasi] +-[target.'cfg(target_os = "wasi")'.dependencies.wasi] -version = "0.11.0" - +- [target."cfg(unix)".dependencies.libc] version = "0.2.149" - +- -[target."cfg(windows)".dependencies.windows-sys] --version = "0.48" +-version = "0.52" -features = [ +- "Wdk_Foundation", +- "Wdk_Storage_FileSystem", +- "Wdk_System_IO", - "Win32_Foundation", - "Win32_Networking_WinSock", - "Win32_Storage_FileSystem", - "Win32_System_IO", - "Win32_System_WindowsProgramming", -] + + [lints.rust.unexpected_cfgs] + level = "warn" +@@ -156,3 +131,4 @@ + "cfg(mio_unsupported_force_poll_poll)", + "cfg(mio_unsupported_force_waker_pipe)", + ] ++ diff --git a/rust-mio.spec b/rust-mio.spec index 7fbab92..54a216b 100644 --- a/rust-mio.spec +++ b/rust-mio.spec @@ -5,7 +5,7 @@ %global crate mio Name: rust-mio -Version: 0.8.11 +Version: 1.0.1 Release: %autorelease Summary: Lightweight non-blocking I/O diff --git a/sources b/sources index 083bdab..371c4d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mio-0.8.11.crate) = 9a2806ea78b0637d0cf92448abcd50bc5d09bd80da0f37752c847bc98d014baae7a5cc4d929de98be6283c76d82ccab1f1467aa6ab583a4e782d97d5592b0bb1 +SHA512 (mio-1.0.1.crate) = e3b98cf7d33f42198a57be4490732132c7b8dd3fba64c99e3874f3f52dfc926298ace992c0fccc5029f47fafa0eeccb460c77fa2f8485f116ba0f353321fcae2