-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
37 lines (31 loc) · 913 Bytes
/
Cargo.toml
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
[package]
name = "rage-wasm"
version = "0.3.1"
authors = ["Kan-Ru Chen <[email protected]>"]
repository = "https://github.com/kanru/rage-wasm"
readme = "README.md"
keywords = ["rage", "encryption", "wasm"]
categories = ["cryptography"]
edition = "2021"
license = "MIT OR Apache-2.0"
[badges]
maintenance = { status = "experimental" }
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
# WebAssembly interop
wasm-bindgen = "0.2.83"
js-sys = "0.3.60"
# Core encryption library
age = { version = "0.9.2", features = ["armor", "web-sys"] }
# For key generation
secrecy = "0.8.0"
# Enable rand_core's wasm support with js runtime
getrandom_2_7 = { package = "getrandom", version = "0.2.7", features = ["js"] }
getrandom_1_16 = { package = "getrandom", version = "0.1.16", features = ["wasm-bindgen"] }
[dev-dependencies]
wasm-bindgen-test = "0.3.33"
[profile.release]
opt-level = "z"
lto = true
panic = 'abort'