A complete blockchain implementation featuring: - synord: Full node with GHOSTDAG consensus - explorer-web: Modern React blockchain explorer with 3D DAG visualization - CLI wallet and tools - Smart contract SDK and example contracts (DEX, NFT, token) - WASM crypto library for browser/mobile
33 lines
825 B
TOML
33 lines
825 B
TOML
[package]
|
|
name = "synor-crypto-wasm"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "WASM bindings for Synor cryptographic operations (ML-DSA/Dilithium)"
|
|
license = "MIT"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["console_error_panic_hook"]
|
|
|
|
[dependencies]
|
|
wasm-bindgen = "0.2"
|
|
js-sys = "0.3"
|
|
console_error_panic_hook = { version = "0.1.7", optional = true }
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
# Pure Rust ML-DSA (Dilithium) - WASM compatible
|
|
ml-dsa = { version = "0.1.0-rc.2", features = ["rand_core"] }
|
|
sha3 = "0.10"
|
|
rand = { version = "0.9", features = ["std", "std_rng"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde-wasm-bindgen = "0.6"
|
|
hex = "0.4"
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
|
|
[profile.release]
|
|
# Optimize for small code size
|
|
opt-level = "s"
|
|
lto = true
|