fix wasm build, remove from native veilid-flutter rust

This commit is contained in:
John Smith
2022-03-15 10:02:20 -04:00
parent 243c53606e
commit 736e7a0cb0
5 changed files with 4 additions and 62 deletions

View File

@@ -10,7 +10,6 @@ crate-type = ["cdylib", "staticlib", "rlib"]
veilid-core = { path="../../veilid-core" }
parking_lot = "^0"
log = "^0"
cfg-if = "^1"
backtrace = "^0"
serde_json = "^1"
serde = "^1"
@@ -25,22 +24,6 @@ allo-isolate = "^0"
ffi-support = "^0"
lazy_static = "^1"
# Dependencies for WASM builds only
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "^0"
console_error_panic_hook = "^0"
wee_alloc = "^0"
wasm-logger = "^0"
wasm-bindgen-futures = "^0"
js-sys = "^0"
# Dependencies for Android builds only
[target.'cfg(target_os = "android")'.dependencies]
jni = "^0"
# Dev Dependencies for WASM builds only
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "^0"
[build-dependencies]
cfg-if = "^1"