File tree Expand file tree Collapse file tree 6 files changed +30
-67
lines changed
Expand file tree Collapse file tree 6 files changed +30
-67
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ edition = "2018"
88
99[dependencies ]
1010anymap = " 0.12"
11- bincode = { version = " 1" }
12- gloo-console = " 0.1.0 "
11+ bincode = " 1"
12+ gloo-console = " 0.1"
1313js-sys = " 0.3"
14- serde = { version = " 1.0 " , features = [" derive" ] }
14+ serde = { version = " 1" , features = [" derive" ] }
1515slab = " 0.4"
1616wasm-bindgen = " 0.2"
1717yew = { path = " ../yew" }
@@ -20,5 +20,8 @@ wasm-bindgen-futures = "0.4"
2020[dependencies .web-sys ]
2121version = " 0.3"
2222features = [
23- " Worker"
23+ " DedicatedWorkerGlobalScope" ,
24+ " Url" ,
25+ " Worker" ,
26+ " WorkerOptions" ,
2427]
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ description = "A framework for making client-side single-page apps"
1515proc-macro = true
1616
1717[dependencies ]
18- boolinator = " 2.4.0 "
19- lazy_static = " 1.3.0 "
20- proc-macro2 = " 1.0 "
21- quote = " 1.0 "
22- syn = { version = " 1.0 " , features = [" full" , " extra-traits" ] }
18+ boolinator = " 2"
19+ lazy_static = " 1"
20+ proc-macro2 = " 1"
21+ quote = " 1"
22+ syn = { version = " 1" , features = [" full" , " extra-traits" ] }
2323
2424# testing
2525[dev-dependencies ]
26- rustversion = " 1.0 "
27- trybuild = " 1.0 "
26+ rustversion = " 1"
27+ trybuild = " 1"
2828yew = { path = " ../yew" }
2929
3030[build-dependencies ]
Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ help: consider importing one of these items
272783 | use crate::t9::foo;
2828 |
2929
30- error[E0277]: the trait bound `Value: std::default:: Default` is not satisfied
30+ error[E0277]: the trait bound `Value: Default` is not satisfied
3131 --> $DIR/fail.rs:9:21
3232 |
33339 | #[derive(Clone, Properties, PartialEq)]
34- | ^^^^^^^^^^ the trait `std::default:: Default` is not implemented for `Value`
34+ | ^^^^^^^^^^ the trait `Default` is not implemented for `Value`
3535 |
3636 = note: required by `Option::<T>::unwrap_or_default`
3737 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change @@ -11,12 +11,11 @@ repository = "https://github.com/yewstack/yew"
1111proc-macro = true
1212
1313[dependencies ]
14- heck = " 0.3.2"
15- proc-macro2 = " 1.0.24"
16- quote = " 1.0.9"
17- syn = { version = " 1.0.64" , features = [" full" ," extra-traits" ] }
14+ proc-macro2 = " 1"
15+ quote = " 1"
16+ syn = { version = " 1" , features = [" full" ," extra-traits" ] }
1817
1918[dev-dependencies ]
20- rustversion = " 1.0 "
21- trybuild = " 1.0 "
19+ rustversion = " 1"
20+ trybuild = " 1"
2221yew-router = { path = " ../yew-router" }
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ yew-router-macro = { path = "../yew-router-macro" }
1919
2020wasm-bindgen = " 0.2"
2121js-sys = " 0.3"
22- gloo = " 0.3.0 "
23- route-recognizer = " 0.3.0 "
24- serde = " 1.0 "
22+ gloo = " 0.3"
23+ route-recognizer = " 0.3"
24+ serde = " 1"
2525serde_urlencoded = " 0.7"
2626
2727[dependencies .web-sys ]
@@ -40,7 +40,7 @@ features = [
4040
4141[dev-dependencies ]
4242wasm-bindgen-test = " 0.3"
43- serde = { version = " 1.0 " , features = [" derive" ] }
43+ serde = { version = " 1" , features = [" derive" ] }
4444
4545[dev-dependencies .web-sys ]
4646version = " 0.3"
Original file line number Diff line number Diff line change @@ -20,35 +20,21 @@ anyhow = "1"
2020anymap = " 0.12"
2121console_error_panic_hook = " 0.1"
2222gloo = " 0.3"
23- http = " 0.2"
24- indexmap = { version = " 1.5" , features = [" std" ] }
23+ indexmap = { version = " 1" , features = [" std" ] }
2524js-sys = " 0.3"
26- serde = { version = " 1.0" , features = [" derive" ] }
27- serde_json = " 1.0"
2825slab = " 0.4"
29- thiserror = " 1"
30- wasm-bindgen = " 0.2.74"
26+ wasm-bindgen = " 0.2"
3127wasm-bindgen-futures = " 0.4"
3228yew-macro = { version = " ^0.18.0" , path = " ../yew-macro" }
3329
34- scoped-tls-hkt = " 0.1.2"
35-
36- # optional encodings
37- bincode = { version = " 1" , optional = true }
30+ scoped-tls-hkt = " 0.1"
3831
3932[dependencies .web-sys ]
4033version = " 0.3"
4134features = [
42- " AbortController" ,
43- " AbortSignal" ,
4435 " AnimationEvent" ,
45- " BinaryType" ,
46- " Blob" ,
47- " BlobPropertyBag" ,
4836 " console" ,
49- " DedicatedWorkerGlobalScope" ,
5037 " Document" ,
51- " DomTokenList" ,
5238 " DragEvent" ,
5339 " Element" ,
5440 " ErrorEvent" ,
@@ -59,7 +45,6 @@ features = [
5945 " FileList" ,
6046 " FileReader" ,
6147 " FocusEvent" ,
62- " Headers" ,
6348 " HtmlElement" ,
6449 " HtmlButtonElement" ,
6550 " HtmlInputElement" ,
@@ -69,50 +54,26 @@ features = [
6954 " InputEventInit" ,
7055 " KeyboardEvent" ,
7156 " Location" ,
72- " MessageEvent" ,
7357 " MouseEvent" ,
7458 " Node" ,
75- " ObserverCallback" ,
7659 " PointerEvent" ,
7760 " ProgressEvent" ,
78- " ReferrerPolicy" ,
79- " Request" ,
80- " RequestCache" ,
81- " RequestCredentials" ,
82- " RequestInit" ,
83- " RequestMode" ,
84- " RequestRedirect" ,
85- " Response" ,
86- " Storage" ,
8761 " Text" ,
8862 " TouchEvent" ,
8963 " TransitionEvent" ,
9064 " UiEvent" ,
91- " Url" ,
92- " WebSocket" ,
9365 " WheelEvent" ,
9466 " Window" ,
95- " Worker" ,
96- " WorkerGlobalScope" ,
97- " WorkerOptions" ,
9867]
9968
10069[dev-dependencies ]
101- base64 = " 0.13.0"
102- bincode = " 1"
103- easybench-wasm = " 0.2.1"
104- rmp-serde = " 0.15.0"
105- rustversion = " 1.0"
106- serde_derive = " 1"
107- trybuild = " 1.0"
108- wasm-bindgen-test = " 0.3.24"
70+ easybench-wasm = " 0.2"
71+ wasm-bindgen-test = " 0.3"
10972
11073[features ]
111- default = [" agent" ]
11274doc_test = []
11375wasm_test = []
11476wasm_bench = []
115- agent = [" bincode" ]
11677
11778[package .metadata .docs .rs ]
11879features = [" doc_test" ]
You can’t perform that action at this time.
0 commit comments