You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-async-std/async-std-fix-metadata.diff

60 lines
2.1 KiB

--- async-std-1.10.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ async-std-1.10.0/Cargo.toml 2021-08-28T12:57:23.216491+00:00
@@ -30,10 +30,6 @@
[[example]]
name = "tcp-ipv4-and-6-echo"
required-features = ["unstable"]
-
-[[example]]
-name = "surf-web"
-required-features = ["surf"]
[[test]]
name = "stream"
@@ -96,9 +92,6 @@
version = "0.4.2"
optional = true
-[dependencies.surf]
-version = "2.0.0"
-optional = true
[dev-dependencies.femme]
version = "2.1.1"
@@ -117,11 +110,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"]
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]
@@ -140,21 +132,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
-
-[target."cfg(target_arch = \"wasm32\")".dependencies.gloo-timers]
-version = "0.2.1"
-features = ["futures"]
-optional = true
-
-[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"]
-
-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
-version = "0.3.10"