[package]
name = "contractless-browser-core"
version = "0.1.0"
edition = "2021"
description = "Browser-compatible cryptography and transaction codecs for Contractless"
license = "MIT"

[lib]
crate-type = ["cdylib", "rlib"]

[features]
default = ["testnet"]
mainnet = []
testnet = []

[dependencies]
aes = "0.8"
aes-gcm = "0.10"
base64 = "0.22"
cbc = { version = "0.1", features = ["alloc", "block-padding"] }
falcon-rs = "0.2.4"
fn-dsa = "0.3.0"
getrandom = { version = "0.2", features = ["js"] }
hex = "0.4"
hmac = "0.12"
image = { version = "0.23", default-features = false, features = ["png"] }
pbkdf2 = "0.12"
rand = "0.8"
ripemd = { version = "0.2.0-rc.0" }
serde = { version = "1", features = ["derive"] }
serde-wasm-bindgen = "0.6"
serde_json = { version = "1", features = ["arbitrary_precision", "preserve_order"] }
sha2 = "0.10"
skein = "0.1.0"
thiserror = "2"
wasm-bindgen = "0.2"
zeroize = { version = "1", features = ["zeroize_derive"] }

[dev-dependencies]
wasm-bindgen-test = "0.3"
