2022-01-18 12:33:14 -05:00
|
|
|
[package]
|
|
|
|
name = "veilid-flutter"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[lib]
|
2022-02-06 21:18:42 -05:00
|
|
|
crate-type = ["cdylib", "staticlib", "rlib"]
|
2022-01-18 12:33:14 -05:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
veilid-core = { path="../../veilid-core" }
|
2022-01-23 11:12:54 -05:00
|
|
|
parking_lot = "^0"
|
2022-01-20 22:32:22 -05:00
|
|
|
log = "^0"
|
2022-01-31 08:52:11 -05:00
|
|
|
cfg-if = "^1"
|
2022-02-06 21:18:42 -05:00
|
|
|
backtrace = "^0"
|
|
|
|
serde_json = "^1"
|
|
|
|
serde = "^1"
|
|
|
|
futures = "^0"
|
|
|
|
|
|
|
|
# Dependencies for native builds only
|
|
|
|
# Linux, Windows, Mac, iOS, Android
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
async-std = { version = "^1", features = ["unstable"] }
|
|
|
|
anyhow = { version = "^1", features = ["backtrace"] }
|
|
|
|
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"
|
|
|
|
|
2022-03-03 20:45:39 -05:00
|
|
|
# Dependencies for Android builds only
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
jni = "^0"
|
|
|
|
|
2022-02-06 21:18:42 -05:00
|
|
|
# Dev Dependencies for WASM builds only
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
|
|
wasm-bindgen-test = "^0"
|
2022-01-18 12:33:14 -05:00
|
|
|
|
2022-01-20 22:32:22 -05:00
|
|
|
[build-dependencies]
|
|
|
|
cfg-if = "^1"
|