...
This commit is contained in:
38
Cargo.toml
Normal file
38
Cargo.toml
Normal file
@@ -0,0 +1,38 @@
|
||||
[package]
|
||||
name = "webassembly"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
description = "A WebAssembly module for web integration"
|
||||
repository = "https://github.com/yourusername/webassembly"
|
||||
license = "MIT"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
wasm-bindgen = "0.2"
|
||||
js-sys = "0.3"
|
||||
console_error_panic_hook = "0.1.7"
|
||||
k256 = { version = "0.13", features = ["ecdsa"] }
|
||||
rand = { version = "0.8", features = ["getrandom"] }
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
chacha20poly1305 = "0.10"
|
||||
once_cell = "1.18"
|
||||
|
||||
[dependencies.web-sys]
|
||||
version = "0.3"
|
||||
features = [
|
||||
"console",
|
||||
"Document",
|
||||
"Element",
|
||||
"HtmlElement",
|
||||
"Node",
|
||||
"Window",
|
||||
]
|
||||
|
||||
[dev-dependencies]
|
||||
wasm-bindgen-test = "0.3"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s" # Optimize for size
|
||||
lto = true # Link-time optimization
|
||||
Reference in New Issue
Block a user