veilid/veilid-flutter/rust/Cargo.toml

48 lines
1.5 KiB
TOML
Raw Normal View History

[package]
name = "veilid-flutter"
version = "0.1.0"
edition = "2021"
[lib]
2022-02-06 20:18:42 -06:00
crate-type = ["cdylib", "staticlib", "rlib"]
2022-06-29 12:39:54 -05:00
[features]
default = [ "rt-tokio" ]
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"]
[dependencies]
2022-06-07 20:31:05 -05:00
tracing = { version = "^0", features = ["log", "attributes"] }
tracing-subscriber = "^0"
2022-01-23 10:12:54 -06:00
parking_lot = "^0"
2022-02-06 20:18:42 -06:00
backtrace = "^0"
serde_json = "^1"
serde = "^1"
2022-06-29 12:39:54 -05:00
futures-util = { version = "^0", default_features = false, features = ["alloc"] }
cfg-if = "^1"
2022-02-06 20:18:42 -06:00
# Dependencies for native builds only
# Linux, Windows, Mac, iOS, Android
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2022-06-29 12:39:54 -05:00
veilid-core = { path="../../veilid-core" }
2022-06-15 20:51:38 -05:00
tracing-opentelemetry = "^0"
2022-06-29 12:39:54 -05:00
opentelemetry = { version = "^0" }
2022-06-27 22:46:29 -05:00
opentelemetry-otlp = { version = "^0" }
2022-06-15 20:51:38 -05:00
opentelemetry-semantic-conventions = "^0"
2022-06-29 12:39:54 -05:00
async-std = { version = "^1", features = ["unstable"], optional = true }
tokio = { version = "^1", features = ["full"], optional = true }
tokio-stream = { version = "^0", features = ["net"], optional = true }
tokio-util = { version = "^0", features = ["compat"], optional = true}
allo-isolate = "^0"
ffi-support = "^0"
lazy_static = "^1"
2022-06-15 20:51:38 -05:00
hostname = "^0"
2022-02-06 20:18:42 -06:00
2022-06-07 20:31:05 -05:00
# Dependencies for WASM builds only
2022-06-15 20:51:38 -05:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
2022-06-27 22:46:29 -05:00
veilid-core = { path="../../veilid-core" }
2022-06-07 20:31:05 -05:00
2022-03-03 19:45:39 -06:00
# Dependencies for Android builds only
[target.'cfg(target_os = "android")'.dependencies]
jni = "^0"