This repository has been archived by the owner on Jul 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
82 lines (70 loc) · 2.07 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "yewtil"
version = "0.2.0"
authors = ["Henry Zimmerman <zimhen7@gmail.com>"]
edition = "2018"
description = "Utility crate for Yew"
license = "MIT/Apache-2.0"
repository = "https://github.com/yewstack/yewtil"
readme = "Readme.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# Only stable is included by default.
default = ["stable"]
# Broad features
all = ["stable", "experimental"]
## All features MUST be stable or experimental
stable = ["neq", "pure", "history", "mrc_irc", "effect", "future"]
experimental = ["dsl", "lrc", "with_callback", "fetch" ]
# Some pointers are stable, some experimental.
# This makes sure you get all the pointers
ptr = ["lrc", "mrc_irc"]
# Misc features
neq = []
pure = ["neq", "yewtil-macro"]
with_callback = []
history = []
dsl = []
effect = []
fetch = ["serde", "serde_json", "neq", "future"]
future = ["wasm-bindgen-futures", "wasm-bindgen", "stdweb", "futures", "web-sys"]
# Ptr features
lrc = []
mrc_irc = []
[dependencies]
yew = { git = "https://github.com/yewstack/yew", branch="master" }
#yew = "0.10.0"
yewtil-macro = {path = "crates/yewtil-macro", version="0.1.0", optional=true}
log = "0.4.8"
wasm-bindgen-futures = {version = "0.4.3", optional = true}
wasm-bindgen = {version = "0.2.51", features=["serde-serialize"], optional = true}
futures = {version = "0.3.1", optional = true}
serde = {version= "1.0.102", optional = true}
serde_json = { version = "1.0.41", optional = true }
stdweb = { version = "0.4.20", features = ["futures-support", "experimental_features_which_may_break_on_minor_version_bumps"], optional = true }
[dependencies.web-sys]
version = "0.3.31"
optional = true
features = [
'Headers',
'Request',
'RequestInit',
'RequestMode',
'Response',
'Window',
'Location',
'Storage',
]
[workspace]
members = [
"crates/yewtil-macro",
"examples/pure_component",
"examples/dsl",
"examples/lrc",
"examples/history",
"examples/mrc_irc",
"examples/effect",
"examples/fetch",
"examples/futures",
"examples/function_component"
]