-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (52 loc) · 1.18 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
[package]
name = "lerni"
version = "0.0.4"
edition = "2021"
license = "MIT"
description = "Lerni content framework"
repository = "https://github.com/noviga/lerni"
include = ["src/**/*.rs", "examples/**/*.rs"]
[dependencies]
derive_more = { version = "1.0", features = ["display"] }
getrandom = { version = "0.2", features = ["js"] }
gloo-events = "0.2"
gloo-utils = "0.2"
leptos = { version = "0.6", features = ["csr"] }
leptos-use = "0.13"
rand = { version = "0.8", default-features = false, features = ["getrandom"] }
yew = { version = "0.21", features = ["csr"], optional = true }
wasm-bindgen = "0.2.93"
[dependencies.web-sys]
version = "0.3"
features = [
"CanvasRenderingContext2d",
"HtmlCanvasElement",
"SvgElement",
"TextMetrics",
]
[[example]]
name = "blur"
crate-type = ["cdylib"]
[[example]]
name = "buttons"
crate-type = ["cdylib"]
[[example]]
name = "grid"
crate-type = ["cdylib"]
[[example]]
name = "hello_world"
crate-type = ["cdylib"]
[[example]]
name = "rows_cols"
crate-type = ["cdylib"]
[[example]]
name = "stack"
crate-type = ["cdylib"]
[[example]]
name = "svg"
crate-type = ["cdylib"]
[[example]]
name = "text"
crate-type = ["cdylib"]
[features]
legacy = ["yew"]