-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
68 lines (59 loc) · 1.45 KB
/
Copy pathCargo.toml
File metadata and controls
68 lines (59 loc) · 1.45 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "browser-fingerprint"
version = "0.1.0"
edition = "2021"
authors = ["Your Name"]
description = "Browser fingerprinting using Rust and WebAssembly"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
wasm-bindgen = "0.2.93"
js-sys = "0.3.70"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
hex = "0.4"
rust_code_obfuscator = "0.2.10"
cryptify = "3.1.1"
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom_03 = { package = "getrandom", version = "0.3", features = ["wasm_js"] }
# The `console_error_panic_hook` crate provides better debugging of panics
console_error_panic_hook = { version = "0.1.7", optional = true }
[dependencies.web-sys]
version = "0.3.70"
features = [
"console",
"Window",
"Navigator",
"Document",
"Screen",
"HtmlCanvasElement",
"CanvasRenderingContext2d",
"WebGlRenderingContext",
"WebGl2RenderingContext",
"Performance",
"Location",
"MimeTypeArray",
"MimeType",
"PluginArray",
"Plugin",
"Storage",
"MediaDevices",
"AudioContext",
"BaseAudioContext",
"OscillatorNode",
"GainNode",
"AudioDestinationNode",
"OfflineAudioContext",
"AnalyserNode",
"BiquadFilterNode",
"DynamicsCompressorNode",
]
[dependencies.wasm-bindgen-futures]
version = "0.4"
[profile.release]
opt-level = "s"
lto = true