From dae2e7c10f37e43b55020024611729d7d09a250b Mon Sep 17 00:00:00 2001 From: John Smith Date: Mon, 13 Mar 2023 17:57:51 -0400 Subject: [PATCH] xfer --- veilid-core/Cargo.toml | 3 ++- veilid-flutter/rust/Cargo.toml | 5 +++-- veilid-server/Cargo.toml | 6 ++++-- veilid-wasm/Cargo.toml | 7 ++++++- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/veilid-core/Cargo.toml b/veilid-core/Cargo.toml index 926c0fd2..66d2aa04 100644 --- a/veilid-core/Cargo.toml +++ b/veilid-core/Cargo.toml @@ -10,7 +10,8 @@ license = "LGPL-2.0-or-later OR MPL-2.0 OR (MIT AND BSD-3-Clause)" crate-type = ["cdylib", "staticlib", "rlib"] [features] -default = [ "enable-crypto-none", "enable-crypto-vld0" ] +default = [ "enable-crypto-vld0" ] +crypto-test = [ "enable-crypto-vld0", "enable-crypto-none" ] enable-crypto-vld0 = [] enable-crypto-none = [] rt-async-std = ["async-std", "async-std-resolver", "async_executors/async_std", "rtnetlink?/smol_socket", "veilid-tools/rt-async-std"] diff --git a/veilid-flutter/rust/Cargo.toml b/veilid-flutter/rust/Cargo.toml index 933a37df..8b8b0773 100644 --- a/veilid-flutter/rust/Cargo.toml +++ b/veilid-flutter/rust/Cargo.toml @@ -7,12 +7,13 @@ edition = "2021" crate-type = ["cdylib", "staticlib", "rlib"] [features] -default = [ "rt-tokio" ] +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"] [dependencies] -veilid-core = { path="../../veilid-core" } +veilid-core = { path="../../veilid-core", default-features = false } tracing = { version = "^0", features = ["log", "attributes"] } tracing-subscriber = "^0" parking_lot = "^0" diff --git a/veilid-server/Cargo.toml b/veilid-server/Cargo.toml index 9a31f676..72664670 100644 --- a/veilid-server/Cargo.toml +++ b/veilid-server/Cargo.toml @@ -11,13 +11,15 @@ name = "veilid-server" path = "src/main.rs" [features] -default = [ "rt-tokio" ] +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", "console-subscriber" ] tracking = [ "veilid-core/tracking" ] [dependencies] -veilid-core = { path = "../veilid-core" } +veilid-core = { path = "../veilid-core", default-features = false } tracing = { version = "^0", features = ["log", "attributes"] } tracing-subscriber = { version = "^0", features = ["env-filter"] } tracing-appender = "^0" diff --git a/veilid-wasm/Cargo.toml b/veilid-wasm/Cargo.toml index 2d21b445..b253fbf1 100644 --- a/veilid-wasm/Cargo.toml +++ b/veilid-wasm/Cargo.toml @@ -8,8 +8,13 @@ license = "LGPL-2.0-or-later OR MPL-2.0 OR (MIT AND BSD-3-Clause)" [lib] crate-type = ["cdylib", "rlib"] + +[features] +default = [ "veilid-core/rt-tokio", "veilid-core/default" ] +crypto-test = [ "veilid-core/rt-tokio", "veilid-core/crypto-test"] + [dependencies] -veilid-core = { path = "../veilid-core" } +veilid-core = { path = "../veilid-core", default-features = false } tracing = { version = "^0", features = ["log", "attributes"] } tracing-wasm = "^0"