/
Cargo.toml
67 lines (61 loc) · 1.25 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
[package]
name = "jpeg-visualizer"
version = "0.1.0"
authors = ["Konrad Bochnia <kbochnia@gmail.com>"]
edition = "2018"
[lib]
crate-type = ["cdylib"] # replace "cdylib" with "lib" when running cargo bench
[dependencies]
wasm-bindgen = "0.2.73"
once_cell = "1.7.2"
console_error_panic_hook = "0.1.6"
seed = "0.8.0"
gloo-file = "0.1.0"
gloo-events = "0.1.1"
bitvec = "0.22.3"
strum = "0.22.0"
strum_macros = "0.22"
rustfft = "6.0.1"
colorous = "1.0.5"
#plots support
plotters = "0.3.1"
plotters-canvas = "0.3.0"
[dependencies.web-sys]
version = "0.3.50"
features = [
"Window",
"Document",
"DomRect",
"HtmlElement",
"Element",
"File",
"FileReader",
"HtmlImageElement",
"ProgressEvent",
"ImageData",
"CanvasRenderingContext2d",
"AudioContext",
"AudioBuffer",
"HtmlCanvasElement",
"HtmlAudioElement",
"HtmlMediaElement",
"AudioContextOptions",
"AudioBufferSourceOptions",
"OfflineAudioContext",
"HtmlButtonElement",
"OffscreenCanvas",
"AudioBufferSourceNode",
"GainNode",
"AudioDestinationNode",
"HtmlDivElement",
"Blob",
"Url",
"Request",
"RequestInit",
"RequestMode",
"Response"]
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "mpeg"
harness = false