forked from iotaledger/identity.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (32 loc) · 1.07 KB
/
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
38
[package]
name = "identity-wasm"
version = "0.3.0"
authors = ["IOTA Stiftung"]
edition = "2018"
description = "Web Assembly bindings for the identity-rs crate."
readme = "README.md"
repository = "https://github.com/iotaledger/identity.rs"
license = "Apache-2.0"
keywords = ["iota", "tangle", "identity", "wasm"]
homepage = "https://www.iota.org"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
console_error_panic_hook = { version = "0.1" }
futures = { version = "0.3" }
js-sys = { version = "0.3" }
serde = { version = "1.0", features = ["derive"] }
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4", default-features = false }
[dependencies.identity]
version = "=0.3.0"
path = "../../identity"
default-features = false
features = ["comm", "wasm"]
[dev-dependencies]
wasm-bindgen-test = { version = "0.3" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
chrono = { version = "0.4", features = ["wasmbind"] }
getrandom = { version = "0.2", features = ["js"] }
[package.metadata.wasm-pack.profile.release]
wasm-opt = false