veilid/veilid-flutter/rust/Cargo.toml

78 lines
2.3 KiB
TOML
Raw Normal View History

[package]
2023-09-02 10:41:59 -04:00
# --- Bumpversion match - do not reorder
name = "veilid-flutter"
2024-07-07 13:32:33 -04:00
version = "0.3.3"
2023-09-02 10:41:59 -04:00
# ---
2023-07-19 12:48:44 -04:00
authors = ["Veilid Team <contact@veilid.com>"]
license = "MPL-2.0"
edition = "2021"
[lib]
2022-02-06 21:18:42 -05:00
crate-type = ["cdylib", "staticlib", "rlib"]
path = "src/lib.rs"
2022-06-29 13:39:54 -04:00
[features]
2023-08-23 13:46:02 -04: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",
]
debug-load = ["dep:ctor", "dep:libc-print", "dep:android_log-sys", "dep:oslog"]
2022-06-29 13:39:54 -04:00
[dependencies]
2023-09-21 15:53:25 -04:00
veilid-core = { path = "../../veilid-core", default-features = false }
2023-12-15 13:49:10 -05:00
tracing = { version = "0.1.40", features = ["log", "attributes"] }
tracing-subscriber = "0.3.18"
2024-07-17 19:09:28 -04:00
parking_lot = "0.12.3"
backtrace = "0.3.71"
serde_json = "1.0.120"
serde = "1.0.204"
futures-util = { version = "0.3.30", default-features = false, features = [
2023-08-23 13:46:02 -04:00
"alloc",
] }
2023-10-19 22:26:39 -04:00
cfg-if = "1.0.0"
2024-07-17 19:09:28 -04:00
data-encoding = { version = "2.6.0" }
2024-07-03 15:03:49 -04:00
tracing-flame = "0.2.0"
2022-02-06 21:18:42 -05:00
# Dependencies for native builds only
# Linux, Windows, Mac, iOS, Android
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2023-09-16 21:56:19 -04:00
tracing-opentelemetry = "0.21"
opentelemetry = { version = "0.20" }
opentelemetry-otlp = { version = "0.13" }
opentelemetry-semantic-conventions = "0.12"
2023-10-19 22:26:39 -04:00
async-std = { version = "1.12.0", features = ["unstable"], optional = true }
2024-07-17 19:09:28 -04:00
tokio = { version = "1.38.1", features = ["full"], optional = true }
tokio-stream = { version = "0.1.15", features = ["net"], optional = true }
tokio-util = { version = "0.7.11", features = ["compat"], optional = true }
allo-isolate = "0.1.25"
2023-10-19 22:26:39 -04:00
ffi-support = "0.4.4"
2024-07-17 19:09:28 -04:00
lazy_static = "1.5.0"
2023-10-19 22:26:39 -04:00
hostname = "0.3.1"
2024-07-17 19:09:28 -04:00
ctor = { version = "0.2.8", optional = true }
libc-print = { version = "0.1.23", optional = true }
2023-10-19 22:26:39 -04:00
2022-02-06 21:18:42 -05:00
2022-06-07 21:31:05 -04:00
# Dependencies for WASM builds only
2022-06-15 21:51:38 -04:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
2022-06-07 21:31:05 -04:00
2022-03-03 20:45:39 -05:00
# Dependencies for Android builds only
[target.'cfg(target_os = "android")'.dependencies]
2023-10-19 22:26:39 -04:00
jni = "0.21.1"
2024-07-17 19:09:28 -04:00
paranoid-android = "0.2.2"
android_log-sys = { version = "0.3.1", optional = true }
2023-10-19 22:26:39 -04:00
2024-06-23 14:59:03 -04:00
# Dependencies for iOS builds only
2023-10-19 22:26:39 -04:00
[target.'cfg(target_os = "ios")'.dependencies]
oslog = { version = "0.2.0", default-features = false, optional = true }