-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (43 loc) · 1.1 KB
/
Cargo.toml
File metadata and controls
49 lines (43 loc) · 1.1 KB
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
[package]
name = "frontend-utils-wasm"
description = "WASM utilities for using in frontend"
version = "6.0.2"
authors = ["Arnaud Rocher <arnaud.roche3@gmail.com>"]
repository = "https://github.com/cailloumajor/frontend-utils-wasm"
license = "MIT"
edition = "2024"
[lib]
crate-type = ["cdylib"]
[dependencies]
chrono = { version = "0.4.42", features = ["serde"] }
csscolorparser = "0.8.1"
plotters-canvas = "0.3.1"
rmp-serde = "1.3.1"
serde = { version = "1.0.228", features = ["derive"] }
thiserror = "2.0.17"
# Must be the version supported by the current version of `wasmbuild`.
wasm-bindgen = "=0.2.114"
[dependencies.plotters]
version = "0.3.7"
default-features = false
features = ["datetime"]
[dependencies.tsify]
version = "0.5.6"
default-features = false
features = ["js"]
[dependencies.web-sys]
# Must be the version supported by the current version of `wasmbuild`.
version = "=0.3.91"
features = [
"CanvasRenderingContext2d",
"CssStyleDeclaration",
"Element",
"Event",
"HtmlCanvasElement",
"Window",
]
[profile.release]
codegen-units = 1
incremental = true
lto = true
opt-level = "z"