diff --git a/.gitignore b/.gitignore index ccfb61e..78c59aa 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /async-std-1.9.0.crate /async-std-1.10.0.crate /async-std-1.11.0.crate +/async-std-1.12.0.crate diff --git a/async-std-fix-metadata.diff b/async-std-fix-metadata.diff index b207ede..5cdc3fd 100644 --- a/async-std-fix-metadata.diff +++ b/async-std-fix-metadata.diff @@ -1,6 +1,6 @@ ---- async-std-1.11.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ async-std-1.11.0/Cargo.toml 2022-03-22T21:40:20.467341+00:00 -@@ -29,10 +29,6 @@ +--- async-std-1.12.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-std-1.12.0/Cargo.toml 2022-07-16T10:34:51.714357+00:00 +@@ -46,10 +46,6 @@ [[example]] name = "tcp-ipv4-and-6-echo" required-features = ["unstable"] @@ -11,34 +11,44 @@ [[test]] name = "stream" -@@ -95,9 +91,6 @@ +@@ -109,10 +105,6 @@ version = "0.4.2" optional = true -[dependencies.surf] -version = "2.0.0" -optional = true +- [dev-dependencies.femme] version = "2.1.1" -@@ -116,11 +109,10 @@ - [features] - alloc = ["futures-core/alloc", "pin-project-lite"] - attributes = ["async-attributes"] --default = ["std", "async-global-executor", "async-io", "futures-lite", "kv-log-macro", "log", "num_cpus", "pin-project-lite", "gloo-timers"] -+default = ["std", "async-global-executor", "async-io", "futures-lite", "kv-log-macro", "log", "num_cpus", "pin-project-lite"] - docs = ["attributes", "unstable", "default"] --std = ["alloc", "crossbeam-utils", "futures-core/std", "futures-io", "memchr", "once_cell", "pin-utils", "slab", "wasm-bindgen-futures", "futures-channel", "async-channel", "async-lock"] -+std = ["alloc", "crossbeam-utils", "futures-core/std", "futures-io", "memchr", "once_cell", "pin-utils", "slab", "async-channel", "async-lock"] +@@ -142,7 +134,6 @@ + "kv-log-macro", + "log", + "pin-project-lite", +- "gloo-timers", + ] + docs = [ + "attributes", +@@ -158,13 +149,10 @@ + "once_cell", + "pin-utils", + "slab", +- "wasm-bindgen-futures", +- "futures-channel", + "async-channel", + "async-lock", + ] tokio02 = ["async-global-executor/tokio02"] -tokio03 = ["async-global-executor/tokio03"] tokio1 = ["async-global-executor/tokio"] - unstable = ["std", "async-io", "async-process"] - [target."cfg(not(target_os = \"unknown\"))".dependencies.async-global-executor] -@@ -139,21 +131,3 @@ + unstable = [ + "std", +@@ -188,23 +176,3 @@ [target."cfg(not(target_os = \"unknown\"))".dependencies.futures-lite] version = "1.0.0" optional = true +- -[target."cfg(target_arch = \"wasm32\")".dependencies.futures-channel] -version = "0.3.4" -optional = true @@ -51,6 +61,7 @@ -[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] -version = "0.4.10" -optional = true +- -[target."cfg(target_arch = \"wasm32\")".dev-dependencies.getrandom] -version = "0.2.0" -features = ["js"] diff --git a/rust-async-std.spec b/rust-async-std.spec index 492bc2e..e757275 100644 --- a/rust-async-std.spec +++ b/rust-async-std.spec @@ -5,7 +5,7 @@ %global crate async-std Name: rust-%{crate} -Version: 1.11.0 +Version: 1.12.0 Release: %autorelease Summary: Async version of the Rust standard library @@ -250,18 +250,6 @@ use the "memchr" feature of the "%{crate}" crate. %files -n %{name}+memchr-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+num_cpus-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+num_cpus-devel %{_description} - -This package contains library source intended for building other packages which -use the "num_cpus" feature of the "%{crate}" crate. - -%files -n %{name}+num_cpus-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+once_cell-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 6499d19..a934ab2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-std-1.11.0.crate) = 8978520f1031273ef93e7af63b7b72d43fe52f4c4058a3538ed1c16ae21bff79b787f79d5e9c54cb5266c24875681a52bd68d85ff322423dfb6656e215f32c20 +SHA512 (async-std-1.12.0.crate) = aaeef7f474fc700bba7beb6725d4eb778a9a05ebccfecdd81789b5d039c49508860d953f231c7b8fbce4c5b237d063a43eb03b83410490fc14eca572884f57e2