veilid/veilid-flutter/rust/Cargo.toml

69 lines
1.8 KiB
TOML
Raw Normal View History

[package]
2023-09-02 14:41:59 +00:00
# --- Bumpversion match - do not reorder
name = "veilid-flutter"
2023-09-16 18:03:21 +00:00
version = "0.2.2"
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"
edition = "2021"
[lib]
2022-02-07 02:18:42 +00:00
crate-type = ["cdylib", "staticlib", "rlib"]
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",
]
2022-06-29 17:39:54 +00:00
[dependencies]
2023-08-23 17:46:02 +00:00
veilid-core = { path = "../../veilid-core", default-features = false, features = [
"verbose-tracing",
"network-result-extra",
] }
2022-06-08 01:31:05 +00:00
tracing = { version = "^0", features = ["log", "attributes"] }
tracing-subscriber = "^0"
2022-01-23 16:12:54 +00:00
parking_lot = "^0"
2022-02-07 02:18:42 +00:00
backtrace = "^0"
serde_json = "^1"
serde = "^1"
2023-09-16 17:52:32 +00:00
futures-util = { version = "^0", default-features = false, features = [
2023-08-23 17:46:02 +00:00
"alloc",
] }
2022-06-29 17:39:54 +00:00
cfg-if = "^1"
2022-10-01 02:37:55 +00:00
data-encoding = { version = "^2" }
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-05-29 19:24:57 +00:00
tracing-opentelemetry = "0.18"
opentelemetry = { version = "0.18" }
opentelemetry-otlp = { version = "0.11" }
opentelemetry-semantic-conventions = "0.10"
2022-06-29 17:39:54 +00:00
async-std = { version = "^1", features = ["unstable"], optional = true }
tokio = { version = "^1", features = ["full"], optional = true }
tokio-stream = { version = "^0", features = ["net"], optional = true }
2023-08-23 17:46:02 +00:00
tokio-util = { version = "^0", features = ["compat"], optional = true }
2022-06-29 17:39:54 +00:00
allo-isolate = "^0"
ffi-support = "^0"
lazy_static = "^1"
2022-06-16 01:51:38 +00:00
hostname = "^0"
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]
jni = "^0"