2022-01-18 17:33:14 +00:00
|
|
|
[package]
|
2023-09-02 14:41:59 +00:00
|
|
|
# --- Bumpversion match - do not reorder
|
2022-01-18 17:33:14 +00:00
|
|
|
name = "veilid-flutter"
|
2023-10-15 17:24:59 +00:00
|
|
|
version = "0.2.4"
|
2023-09-02 14:41:59 +00:00
|
|
|
# ---
|
2023-07-19 16:48:44 +00:00
|
|
|
authors = ["Veilid Team <contact@veilid.com>"]
|
|
|
|
license = "MPL-2.0"
|
2022-01-18 17:33:14 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[lib]
|
2022-02-07 02:18:42 +00:00
|
|
|
crate-type = ["cdylib", "staticlib", "rlib"]
|
2022-01-18 17:33:14 +00:00
|
|
|
|
2022-06-29 17:39:54 +00:00
|
|
|
[features]
|
2023-08-23 17:46:02 +00:00
|
|
|
default = ["rt-tokio", "veilid-core/default"]
|
|
|
|
crypto-test = ["rt-tokio", "veilid-core/crypto-test"]
|
|
|
|
rt-async-std = [
|
|
|
|
"veilid-core/rt-async-std",
|
|
|
|
"async-std",
|
|
|
|
"opentelemetry/rt-async-std",
|
|
|
|
"opentelemetry-otlp/grpc-sys",
|
|
|
|
]
|
|
|
|
rt-tokio = [
|
|
|
|
"veilid-core/rt-tokio",
|
|
|
|
"tokio",
|
|
|
|
"tokio-stream",
|
|
|
|
"tokio-util",
|
|
|
|
"opentelemetry/rt-tokio",
|
|
|
|
]
|
2023-10-21 02:39:09 +00:00
|
|
|
debug-load = ["dep:ctor", "dep:libc-print", "dep:android_log-sys", "dep:oslog"]
|
2022-06-29 17:39:54 +00:00
|
|
|
|
2022-01-18 17:33:14 +00:00
|
|
|
[dependencies]
|
2023-09-21 19:53:25 +00:00
|
|
|
veilid-core = { path = "../../veilid-core", default-features = false }
|
2023-10-20 02:26:39 +00:00
|
|
|
tracing = { version = "0.1.37", features = ["log", "attributes"] }
|
|
|
|
tracing-subscriber = "0.3.17"
|
|
|
|
parking_lot = "0.12.1"
|
|
|
|
backtrace = "0.3.69"
|
|
|
|
serde_json = "1.0.107"
|
|
|
|
serde = "1.0.188"
|
|
|
|
futures-util = { version = "0.3.28", default-features = false, features = [
|
2023-08-23 17:46:02 +00:00
|
|
|
"alloc",
|
|
|
|
] }
|
2023-10-20 02:26:39 +00:00
|
|
|
cfg-if = "1.0.0"
|
|
|
|
data-encoding = { version = "2.4.0" }
|
2022-02-07 02:18:42 +00:00
|
|
|
|
|
|
|
# Dependencies for native builds only
|
|
|
|
# Linux, Windows, Mac, iOS, Android
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2023-09-17 01:56:19 +00:00
|
|
|
tracing-opentelemetry = "0.21"
|
|
|
|
opentelemetry = { version = "0.20" }
|
|
|
|
opentelemetry-otlp = { version = "0.13" }
|
|
|
|
opentelemetry-semantic-conventions = "0.12"
|
2023-10-20 02:26:39 +00:00
|
|
|
async-std = { version = "1.12.0", features = ["unstable"], optional = true }
|
|
|
|
tokio = { version = "1.32.0", features = ["full"], optional = true }
|
|
|
|
tokio-stream = { version = "0.1.14", features = ["net"], optional = true }
|
|
|
|
tokio-util = { version = "0.7.8", features = ["compat"], optional = true }
|
|
|
|
allo-isolate = "0.1.20"
|
|
|
|
ffi-support = "0.4.4"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
hostname = "0.3.1"
|
2023-10-21 02:39:09 +00:00
|
|
|
ctor = { version = "0.2.5", optional = true }
|
|
|
|
libc-print = { version = "0.1.22", optional = true }
|
2023-10-20 02:26:39 +00:00
|
|
|
|
2022-02-07 02:18:42 +00:00
|
|
|
|
2022-06-08 01:31:05 +00:00
|
|
|
# Dependencies for WASM builds only
|
2022-06-16 01:51:38 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-06-08 01:31:05 +00:00
|
|
|
|
2022-03-04 01:45:39 +00:00
|
|
|
# Dependencies for Android builds only
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
2023-10-20 02:26:39 +00:00
|
|
|
jni = "0.21.1"
|
2023-10-06 20:41:25 +00:00
|
|
|
paranoid-android = "0.2.1"
|
2023-10-21 02:39:09 +00:00
|
|
|
android_log-sys = { version = "0.3.1", optional = true }
|
2023-10-20 02:26:39 +00:00
|
|
|
|
|
|
|
# Dependencies for Android builds only
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
2023-10-21 02:39:09 +00:00
|
|
|
oslog = { version = "0.2.0", default-features = false, optional = true }
|