veilid/veilid-server/Cargo.toml

93 lines
2.6 KiB
TOML
Raw Normal View History

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