veilid/veilid-server/Cargo.toml

106 lines
3.3 KiB
TOML
Raw Normal View History

2021-11-22 10:28:30 -06:00
[package]
2023-09-02 09:41:59 -05:00
# --- Bumpversion match - do not reorder
2021-11-22 10:28:30 -06:00
name = "veilid-server"
2024-08-01 19:19:34 -05:00
version = "0.3.4"
2023-09-02 09:41:59 -05:00
# ---
2024-08-16 20:01:30 -05:00
description = "Veilid Headless Node"
repository = "https://gitlab.com/veilid/veilid"
2023-07-19 11:48:44 -05:00
authors = ["Veilid Team <contact@veilid.com>"]
license = "MPL-2.0"
2022-01-04 13:25:32 -06:00
edition = "2021"
resolver = "2"
rust-version = "1.81.0"
2021-11-22 10:28:30 -06:00
[[bin]]
name = "veilid-server"
path = "src/main.rs"
2022-06-26 20:12:16 -05:00
[features]
2023-12-17 08:52:10 -06:00
default = ["rt-tokio", "veilid-core/default", "otlp-tonic"]
2023-12-16 14:49:53 -06:00
default-async-std = ["rt-async-std", "veilid-core/default-async-std"]
2023-12-17 08:52:10 -06:00
2023-06-07 16:39:10 -05:00
crypto-test = ["rt-tokio", "veilid-core/crypto-test"]
crypto-test-none = ["rt-tokio", "veilid-core/crypto-test-none"]
2023-03-13 16:57:51 -05:00
2024-03-02 16:45:26 -06:00
otlp-tonic = ["opentelemetry-otlp/grpc-tonic", "opentelemetry-otlp/trace"]
2024-07-17 17:58:33 -05:00
# otlp-grpc = ["opentelemetry-otlp/grpc-sys", "opentelemetry-otlp/trace"]
2023-12-17 08:52:10 -06:00
2023-09-02 09:41:59 -05:00
rt-async-std = [
"veilid-core/rt-async-std",
"async-std",
2024-07-17 17:58:33 -05:00
"opentelemetry_sdk/rt-async-std",
2023-09-02 09:41:59 -05:00
]
rt-tokio = [
"veilid-core/rt-tokio",
"tokio",
"tokio-stream",
"tokio-util",
2024-07-17 17:58:33 -05:00
"opentelemetry_sdk/rt-tokio",
2023-09-02 09:41:59 -05:00
"console-subscriber",
]
2023-06-07 16:39:10 -05:00
tracking = ["veilid-core/tracking"]
debug-json-api = []
debug-locks = ["veilid-core/debug-locks"]
2022-06-26 20:12:16 -05:00
2021-11-22 10:28:30 -06:00
[dependencies]
2023-03-13 16:57:51 -05:00
veilid-core = { path = "../veilid-core", default-features = false }
2024-07-17 17:58:33 -05:00
tracing = { version = "^0.1.40", features = ["log", "attributes"] }
tracing-subscriber = { version = "^0.3.18", features = ["env-filter", "time"] }
2024-07-17 17:58:33 -05:00
tracing-appender = "^0.2.3"
tracing-opentelemetry = "^0.24.0"
2022-07-14 15:57:34 -05:00
# Buggy: tracing-error = "^0"
2024-07-17 17:58:33 -05:00
opentelemetry = { version = "^0.23" }
opentelemetry-otlp = { version = "^0.16.0", default-features = false, optional = true }
opentelemetry_sdk = "0.23.0"
opentelemetry-semantic-conventions = "^0.16.0"
async-std = { version = "^1.12.0", features = ["unstable"], optional = true }
tokio = { version = "^1.38.1", features = ["full", "tracing"], optional = true }
tokio-stream = { version = "^0.1.15", features = ["net"], optional = true }
tokio-util = { version = "^0.7.11", features = ["compat"], optional = true }
console-subscriber = { version = "^0.3.0", optional = true }
async-tungstenite = { version = "^0.27.0", features = ["async-tls"] }
color-eyre = { version = "^0.6.3", default-features = false }
backtrace = "^0.3.71"
clap = { version = "^4.5.9", features = ["derive", "string", "wrap_help"] }
directories = "^5.0.1"
parking_lot = "^0.12.3"
config = { version = "^0.14.0", default-features = false, features = ["yaml"] }
2024-07-17 17:58:33 -05:00
cfg-if = "^1.0.0"
serde = "^1.0.204"
serde_derive = "^1.0.204"
serde_yaml = "^0.9.34"
2022-11-16 11:49:53 -06:00
json = "^0"
2023-09-16 12:52:32 -05:00
futures-util = { version = "^0", default-features = false, features = [
2023-09-02 09:41:59 -05:00
"alloc",
] }
2021-11-22 10:28:30 -06:00
url = "^2"
ctrlc = "^3"
lazy_static = "^1"
2024-03-03 17:38:25 -06:00
bugsalot = { package = "veilid-bugsalot", version = "0.2.0" }
2022-03-11 06:35:41 -06:00
flume = { version = "^0", features = ["async"] }
2023-09-16 20:56:19 -05:00
rpassword = "^7"
2022-06-15 14:03:13 -05:00
hostname = "^0"
2022-06-29 09:13:49 -05:00
stop-token = { version = "^0", default-features = false }
2024-07-17 18:09:28 -05:00
sysinfo = { version = "^0.30.13" }
wg = { version = "^0.9.1", features = ["future"] }
2024-07-03 12:15:59 -05:00
tracing-flame = "0.2.0"
time = { version = "0.3.36", features = ["local-offset"] }
chrono = "0.4.38"
2021-11-22 10:28:30 -06:00
[target.'cfg(windows)'.dependencies]
windows-service = "^0"
2022-06-07 20:31:05 -05:00
ansi_term = "^0"
2021-11-22 10:28:30 -06:00
[target.'cfg(unix)'.dependencies]
2024-07-17 17:58:33 -05:00
daemonize = "^0.5.0"
signal-hook = "^0.3.17"
signal-hook-async-std = "^0.2.2"
nix = "^0.29.0"
tracing-perfetto = "0.1.1"
2022-05-16 10:52:48 -05:00
[target.'cfg(target_os = "linux")'.dependencies]
2024-07-17 17:58:33 -05:00
tracing-journald = "^0.3.0"
2021-11-22 10:28:30 -06:00
[dev-dependencies]
2024-07-17 17:58:33 -05:00
serial_test = "^3.1.1"