veilid/veilid-server/Cargo.toml

73 lines
2.4 KiB
TOML
Raw Normal View History

2021-11-22 10:28:30 -06:00
[package]
name = "veilid-server"
version = "0.1.0"
authors = ["John Smith <jsmith@example.com>"]
2022-01-04 13:25:32 -06:00
edition = "2021"
2021-11-22 10:28:30 -06:00
license = "LGPL-2.0-or-later OR MPL-2.0 OR (MIT AND BSD-3-Clause)"
[[bin]]
name = "veilid-server"
path = "src/main.rs"
2022-06-26 20:12:16 -05:00
[features]
2023-03-13 16:57:51 -05:00
default = [ "rt-tokio", "veilid-core/default" ]
crypto-test = [ "rt-tokio", "veilid-core/crypto-test"]
2023-03-14 13:52:02 -05:00
crypto-test-none = [ "rt-tokio", "veilid-core/crypto-test-none"]
2023-03-13 16:57:51 -05:00
2022-11-03 10:28:29 -05: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" ]
tracking = [ "veilid-core/tracking" ]
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 }
2022-06-07 20:31:05 -05:00
tracing = { version = "^0", features = ["log", "attributes"] }
tracing-subscriber = { version = "^0", features = ["env-filter"] }
tracing-appender = "^0"
2023-05-29 14:24:57 -05:00
tracing-opentelemetry = "0.18"
2022-07-14 15:57:34 -05:00
# Buggy: tracing-error = "^0"
2023-05-29 14:24:57 -05:00
opentelemetry = { version = "0.18" }
opentelemetry-otlp = { version = "0.11" }
opentelemetry-semantic-conventions = "0.10"
2022-06-26 20:12:16 -05:00
async-std = { version = "^1", features = ["unstable"], optional = true }
2022-11-03 10:28:29 -05:00
tokio = { version = "^1", features = ["full", "tracing"], optional = true }
console-subscriber = { version = "^0", optional = true }
2022-06-29 09:13:49 -05:00
tokio-stream = { version = "^0", features = ["net"], optional = true }
tokio-util = { version = "^0", features = ["compat"], optional = true}
2022-06-26 20:12:16 -05:00
async-tungstenite = { version = "^0", features = ["async-tls"] }
2022-07-14 15:57:34 -05:00
color-eyre = { version = "^0", default-features = false }
2022-11-03 10:28:29 -05:00
backtrace = "^0"
2022-06-29 12:57:53 -05:00
clap = "^3"
directories = "^4"
2021-11-22 10:28:30 -06:00
parking_lot = "^0"
config = { version = "^0", features = ["yaml"] }
cfg-if = "^1"
2021-11-22 10:28:30 -06:00
serde = "^1"
serde_derive = "^1"
2022-01-05 19:32:43 -06:00
serde_yaml = "^0"
2022-11-16 11:49:53 -06:00
json = "^0"
2022-06-29 09:34:23 -05:00
futures-util = { version = "^0", default_features = false, features = ["alloc"] }
2021-11-22 10:28:30 -06:00
url = "^2"
ctrlc = "^3"
lazy_static = "^1"
2023-05-29 14:24:57 -05:00
bugsalot = { git = "https://github.com/crioux/bugsalot.git" }
2022-03-11 06:35:41 -06:00
flume = { version = "^0", features = ["async"] }
2022-05-16 10:52:48 -05:00
rpassword = "^6"
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 }
2023-05-29 14:24:57 -05:00
sysinfo = { version = "^0.28.4", default-features = false }
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]
daemonize = "^0"
2022-05-16 10:52:48 -05:00
signal-hook = "^0"
signal-hook-async-std = "^0"
nix = "^0"
[target.'cfg(target_os = "linux")'.dependencies]
2022-06-07 20:31:05 -05:00
tracing-journald = "^0"
2021-11-22 10:28:30 -06:00
[dev-dependencies]
2023-06-06 18:09:29 -05:00
serial_test = "^0"