nym-sphinx-wasm: Adding serde to deal with json across wasm boundary

This commit is contained in:
Dave Hrycyszyn
2020-04-15 16:49:18 +01:00
parent d3227ab157
commit 4fd07aef10
2 changed files with 2 additions and 3 deletions
Generated
-2
View File
@@ -3134,8 +3134,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2cc57ce05287f8376e998cbddfb4c8cb43b84a7ec55cf4551d7c00eef317a47f"
dependencies = [
"cfg-if",
"serde",
"serde_json",
"wasm-bindgen-macro",
]
+2 -1
View File
@@ -12,11 +12,12 @@ default = ["console_error_panic_hook"]
[dependencies]
curve25519-dalek = "2.0.0"
serde = "^1.0.59"
serde_derive = "^1.0.59"
serde_json = "1.0.40"
slice_as_array = "1.1.0"
wasm-bindgen = "0.2"
# internal
sphinx = { git = "https://github.com/nymtech/sphinx", rev="298c7fda6a577daf6d9bb955fa52c2bffecf6926" }
crypto = { path = "../common/crypto" }