File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ pin-project-lite = { version = "0.1.4", optional = true }
6868pin-utils = { version = " 0.1.0-alpha.4" , optional = true }
6969slab = { version = " 0.4.2" , optional = true }
7070
71+ # Devdepencency, but they are not allowed to be optional :/
72+ surf = { version = " 1.0.3" , optional = true }
73+
7174[target .'cfg(not(target_os = "unknown"))' .dependencies ]
7275smol = { version = " 0.1.1" , optional = true }
7376
@@ -82,7 +85,6 @@ wasm-bindgen-test = "0.3.10"
8285[dev-dependencies ]
8386femme = " 1.3.0"
8487rand = " 0.7.3"
85- surf = " 1.0.3"
8688tempdir = " 0.3.7"
8789futures = " 0.3.4"
8890rand_xorshift = " 0.2.0"
@@ -94,3 +96,7 @@ required-features = ["unstable"]
9496[[example ]]
9597name = " tcp-ipv4-and-6-echo"
9698required-features = [" unstable" ]
99+
100+ [[example ]]
101+ name = " surf-web"
102+ required-features = [" surf" ]
You can’t perform that action at this time.
0 commit comments