veilid/veilid-server/Cargo.toml

100 lines
2.9 KiB
TOML
Raw Normal View History

2021-11-22 11:28:30 -05:00
[package]
2023-09-02 10:41:59 -04:00
# --- Bumpversion match - do not reorder
2021-11-22 11:28:30 -05:00
name = "veilid-server"
version = "0.2.5"
2023-09-02 10:41:59 -04:00
# ---
description = "Veilid Server"
2023-07-19 12:48:44 -04:00
authors = ["Veilid Team <contact@veilid.com>"]
license = "MPL-2.0"
2022-01-04 14:25:32 -05:00
edition = "2021"
resolver = "2"
2021-11-22 11:28:30 -05:00
[[bin]]
name = "veilid-server"
path = "src/main.rs"
2022-06-26 21:12:16 -04:00
[features]
2023-12-17 09:52:10 -05:00
default = ["rt-tokio", "veilid-core/default", "otlp-tonic"]
2023-12-16 15:49:53 -05:00
default-async-std = ["rt-async-std", "veilid-core/default-async-std"]
2023-12-17 09:52:10 -05:00
2023-06-07 17:39:10 -04:00
crypto-test = ["rt-tokio", "veilid-core/crypto-test"]
crypto-test-none = ["rt-tokio", "veilid-core/crypto-test-none"]
2023-03-13 17:57:51 -04:00
2024-03-02 17:45:26 -05:00
otlp-tonic = ["opentelemetry-otlp/grpc-tonic", "opentelemetry-otlp/trace"]
otlp-grpc = ["opentelemetry-otlp/grpc-sys", "opentelemetry-otlp/trace"]
2023-12-17 09:52:10 -05:00
2023-09-02 10:41:59 -04:00
rt-async-std = [
"veilid-core/rt-async-std",
"async-std",
"opentelemetry/rt-async-std",
]
rt-tokio = [
"veilid-core/rt-tokio",
"tokio",
"tokio-stream",
"tokio-util",
"opentelemetry/rt-tokio",
"console-subscriber",
]
2023-06-07 17:39:10 -04:00
tracking = ["veilid-core/tracking"]
debug-json-api = []
2022-06-26 21:12:16 -04:00
2021-11-22 11:28:30 -05:00
[dependencies]
2023-03-13 17:57:51 -04:00
veilid-core = { path = "../veilid-core", default-features = false }
2022-06-07 21:31:05 -04:00
tracing = { version = "^0", features = ["log", "attributes"] }
tracing-subscriber = { version = "^0", features = ["env-filter"] }
tracing-appender = "^0"
2023-09-16 21:56:19 -04:00
tracing-opentelemetry = "0.21"
2022-07-14 16:57:34 -04:00
# Buggy: tracing-error = "^0"
2023-09-16 21:56:19 -04:00
opentelemetry = { version = "0.20" }
2024-03-02 17:45:26 -05:00
opentelemetry-otlp = { version = "0.13", default-features = false, optional = true }
2023-09-16 21:56:19 -04:00
opentelemetry-semantic-conventions = "0.12"
2022-06-26 21:12:16 -04:00
async-std = { version = "^1", features = ["unstable"], optional = true }
2023-12-15 13:49:10 -05:00
tokio = { version = "1.35.0", features = ["full", "tracing"], optional = true }
2023-12-14 17:23:43 -05:00
tokio-stream = { version = "0.1.14", features = ["net"], optional = true }
2023-12-15 13:49:10 -05:00
tokio-util = { version = "0.7.10", features = ["compat"], optional = true }
2022-11-03 11:28:29 -04:00
console-subscriber = { version = "^0", optional = true }
async-tungstenite = { package = "veilid-async-tungstenite", version = "^0", features = [
"async-tls",
] }
2022-07-14 16:57:34 -04:00
color-eyre = { version = "^0", default-features = false }
2022-11-03 11:28:29 -04:00
backtrace = "^0"
2023-09-02 10:41:59 -04:00
clap = { version = "4", features = ["derive", "string", "wrap_help"] }
2023-09-16 21:56:19 -04:00
directories = "^5"
2021-11-22 11:28:30 -05:00
parking_lot = "^0"
config = { version = "^0", features = ["yaml"] }
cfg-if = "^1"
2021-11-22 11:28:30 -05:00
serde = "^1"
serde_derive = "^1"
2022-01-05 20:32:43 -05:00
serde_yaml = "^0"
2022-11-16 12:49:53 -05:00
json = "^0"
2023-09-16 13:52:32 -04:00
futures-util = { version = "^0", default-features = false, features = [
2023-09-02 10:41:59 -04:00
"alloc",
] }
2021-11-22 11:28:30 -05:00
url = "^2"
ctrlc = "^3"
lazy_static = "^1"
2024-03-03 18:38:25 -05:00
bugsalot = { package = "veilid-bugsalot", version = "0.2.0" }
2022-03-11 07:35:41 -05:00
flume = { version = "^0", features = ["async"] }
2023-09-16 21:56:19 -04:00
rpassword = "^7"
2022-06-15 15:03:13 -04:00
hostname = "^0"
2022-06-29 10:13:49 -04:00
stop-token = { version = "^0", default-features = false }
2024-03-02 17:45:26 -05:00
sysinfo = { version = "^0.30.6" }
2023-06-07 17:39:10 -04:00
wg = "0.3.2"
2021-11-22 11:28:30 -05:00
[target.'cfg(windows)'.dependencies]
windows-service = "^0"
2022-06-07 21:31:05 -04:00
ansi_term = "^0"
2021-11-22 11:28:30 -05:00
[target.'cfg(unix)'.dependencies]
daemonize = "^0"
2022-05-16 11:52:48 -04:00
signal-hook = "^0"
signal-hook-async-std = "^0"
nix = "^0"
[target.'cfg(target_os = "linux")'.dependencies]
2022-06-07 21:31:05 -04:00
tracing-journald = "^0"
2021-11-22 11:28:30 -05:00
[dev-dependencies]
2023-09-16 21:56:19 -04:00
serial_test = "^2"