-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (34 loc) · 795 Bytes
/
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
[package]
name = "wasm-encrypt-image"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.29"
serde = { version = "1.0", features = ["derive"] }
image = "0.24.1"
imageproc = { git = "https://github.com/image-rs/imageproc" }
rusttype = "0.9.2"
js-sys = "0.3.56"
[dependencies.web-sys]
version = "0.3"
features = [
'Document',
'Element',
"HtmlImageElement",
'HtmlElement',
'Node',
'Window',
'CssStyleDeclaration',
'CanvasRenderingContext2d',
'HtmlCanvasElement',
'ImageData',
'Headers',
'Request',
'RequestInit',
'RequestMode',
'Response',
]