forked from copy/v86
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (53 loc) · 1.19 KB
/
Cargo.toml
File metadata and controls
61 lines (53 loc) · 1.19 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
[workspace]
members = [
"crates/derp-network"
]
[package]
name = "v86"
version = "0.1.0"
publish = false
edition = "2021"
[features]
default = []
profiler = []
[lib]
crate-type = ["cdylib"]
path = "src/rust/lib.rs"
[profile.test]
lto = false
opt-level = 2
overflow-checks = false
[profile.dev]
lto = true
opt-level = 2
panic = "abort"
overflow-checks = false
[profile.release]
lto = true
opt-level = 3
incremental = false
panic = "abort"
[dependencies]
aes-gcm = "0.10" # AES-GCM encryption
hmac = "0.12" # HMAC
sha2 = "0.10" # SHA-256
getrandom = { version = "0.2", features = ["js"] } # Random number generation for WASM
wasm-bindgen = "0.2.87" # WASM bindings
js-sys = "0.3.64" # JavaScript interop
web-sys = { version = "0.3.64", features = [
"WebSocket",
"MessageEvent",
"BinaryType",
"Blob",
"ErrorEvent",
"CloseEvent",
"Window"
]}
serde = { version = "1.0", features = ["derive"] } # Serialization
serde_json = "1.0" # JSON handling
base64 = "0.21" # Base64 encoding/decoding
serde-wasm-bindgen = "0.6"
wasm-bindgen-futures = "0.4"
uuid = { version = "1.0", features = ["v4", "js"] }
[dev-dependencies]
wasm-bindgen-test = "0.3.37" # Testing framework for WASM