forked from ivanceras/sauron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
81 lines (67 loc) · 2.27 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
[package]
name = "sauron"
version = "0.60.6"
authors = [ "Jovansonlee Cesar <[email protected]>" ]
license = "MIT"
description = "A versatile web framework and library for building client-side and/or server-side web applications"
repository = "https://github.com/ivanceras/sauron"
documentation = "https://docs.rs/sauron"
readme = "README.md"
keywords = ["html", "dom", "web"]
edition = "2021"
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
sauron-core = { version = "0.60", path = "crates/sauron-core", default-features = false }
sauron-macro = { version = "0.60", path = "crates/sauron-macro", optional = true }
sauron-html-parser = { version = "0.60", path = "crates/html-parser", optional = true }
[features]
default = ["with-dom", "with-node-macro", "custom_element", "with-interning", "with-jss"]
with-dom = ["sauron-core/with-dom"]
with-lookup = ["sauron-core/with-lookup"]
with-ric = ["sauron-core/with-ric"]
with-raf = ["sauron-core/with-raf"]
with-interning = ["sauron-core/with-interning"]
with-jss = ["sauron-macro", "with-lookup"] #enable use of jss (css style in json format)
# shows telemetry such as duration it took to update the dom
with-measure = ["sauron-core/with-measure"]
# log debug patches
with-debug = ["sauron-core/with-debug"]
log-patches = ["with-debug", "sauron-core/log-patches"]
# lets you use node! macro to write html like code in the view
with-node-macro = ["sauron-macro"]
custom_element = ["sauron-macro","sauron-core/custom_element"]
html-parser = ["sauron-html-parser"]
[dev-dependencies]
console_error_panic_hook = "0.1.7"
console_log = "1.0"
log = "0.4"
wasm-bindgen-test = "0.3"
wasm-bindgen-futures = "0.4.31"
regex = "1"
[dev-dependencies.web-sys]
version = "0.3"
features = [
"DomTokenList",
"HtmlInputElement",
"Event",
"MouseEvent",
"InputEvent",
"console",
"Performance",
]
[workspace]
members = [
"crates/*",
"examples/*",
]
# progressive-rendering example has its own workspace
exclude = [
"examples/custom-element",
"examples/progressive-rendering",
]
[patch.crates-io]
#mt-dom = { git = "https://github.com/ivanceras/mt-dom.git", branch = "master" }
#mt-dom = { path = "../mt-dom" }
#jss = { git = "https://github.com/ivanceras/jss.git", branch = "master" }
#jss = { path = "../jss" }