File tree 1 file changed +7
-1
lines changed
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 }
68
68
pin-utils = { version = " 0.1.0-alpha.4" , optional = true }
69
69
slab = { version = " 0.4.2" , optional = true }
70
70
71
+ # Devdepencency, but they are not allowed to be optional :/
72
+ surf = { version = " 1.0.3" , optional = true }
73
+
71
74
[target .'cfg(not(target_os = "unknown"))' .dependencies ]
72
75
smol = { version = " 0.1.1" , optional = true }
73
76
@@ -82,7 +85,6 @@ wasm-bindgen-test = "0.3.10"
82
85
[dev-dependencies ]
83
86
femme = " 1.3.0"
84
87
rand = " 0.7.3"
85
- surf = " 1.0.3"
86
88
tempdir = " 0.3.7"
87
89
futures = " 0.3.4"
88
90
rand_xorshift = " 0.2.0"
@@ -94,3 +96,7 @@ required-features = ["unstable"]
94
96
[[example ]]
95
97
name = " tcp-ipv4-and-6-echo"
96
98
required-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