forked from fitzgen/dodrio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
106 lines (92 loc) · 2.45 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
authors = ["Nick Fitzgerald <[email protected]>"]
categories = ["wasm", "web-programming"]
description = "A fast, bump-allocated virtual DOM library."
edition = "2018"
keywords = ["virtual-dom", "vdom", "render", "bump"]
license = "MPL-2.0"
name = "dodrio"
readme = "./README.md"
repository = "https://github.com/fitzgen/dodrio"
version = "0.1.0"
[badges]
travis-ci = { repository = "fitzgen/dodrio" }
[lib]
path = "src/lib.rs"
bench = false
[[test]]
name = "web"
path = "tests/web/main.rs"
required-features = ["xxx-unstable-internal-use-only"]
[[bench]]
name = "benches"
path = "benches/benches.rs"
harness = false
required-features = ["xxx-unstable-internal-use-only"]
[features]
# Don't rely on this feature! Its behavior will change and it could go away at
# any time. This enables monkey-patching DOM methods so that we wrap them and
# trace what DOM methods are used and how many times they are invoked when
# applying our emitted change lists to the physical DOM. This is useful for
# evaluating the differences between how Dodrio applies changes from virtual
# nodes to the physical DOM versus how other virtual DOM libraries do the same.
xxx-unstable-strace = []
# Don't use this feature! It only exists for exposing otherwise-internal APIs
# for testing and benchmarks.
xxx-unstable-internal-use-only = []
[dependencies]
bumpalo = "2.4.3"
cfg-if = "0.1.9"
futures = "0.1.27"
wasm-bindgen = "0.2.42"
wasm-bindgen-futures = "0.3.19"
js-sys = "0.3.19"
fxhash = "0.2.1"
log = { version = "0.4.6", optional = true }
bitflags = "1.0.5"
longest-increasing-subsequence = "0.1.0"
serde = { version = "1.0.91", optional = true }
[dependencies.web-sys]
version = "0.3.19"
features = [
"console",
"Document",
"Element",
"Event",
"Node",
"Window",
]
[dev-dependencies]
console_log = "0.1.2"
dodrio-js-api = { version = "=0.1.0", path = "./crates/js-api" }
log = "0.4.6"
wasm-bindgen-test = "0.2.42"
[dev-dependencies.web-sys]
version = "0.3.19"
features = [
"Attr",
"EventTarget",
"HtmlElement",
"NamedNodeMap",
"NodeList",
]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.2.11"
[profile.bench]
debug = true
[profile.release]
incremental = false
lto = true
opt-level = "s"
[workspace]
members = [
"./crates/js-api",
"./examples/counter",
"./examples/game-of-life",
"./examples/hello-world",
"./examples/input-form",
"./examples/js-component",
"./examples/moire",
"./examples/sierpinski-triangle",
"./examples/todomvc",
]