watcher/watchlet/Cargo.toml
Victor Vobis d9339d5c92 bless
2025-09-11 22:42:44 +02:00

31 lines
830 B
TOML

[package]
name = "watchlet"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
bincode = { version = "2.0.1", features = ["serde"] }
hex = "0.4.3"
serde = { version = "1.0.219", features = ["derive"] }
sha3 = "0.10.8"
shared = { path = "../shared" }
thiserror = "2.0.16"
# Native-only dependencies
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
age = { version = "0.11.1", features = ["cli-common"] }
k256 = { version = "0.13.4", features = ["ecdsa"] }
# WASM-only dependencies
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2.101", features = ["serde-serialize"] }
web-sys = { version = "0.3.78", features = ["Window", "Crypto"] }
js-sys = "0.3"
getrandom = { version = "0.2", features = ["js"] }
[dev-dependencies]
wasm-bindgen-test = "0.3"