mirror of
https://github.com/nukesor/pueue
synced 2024-07-01 07:04:26 +00:00
78 lines
1.9 KiB
TOML
78 lines
1.9 KiB
TOML
[package]
|
|
name = "pueue-lib"
|
|
version = "0.26.1"
|
|
description = "The shared library to work with the Pueue client and daemon."
|
|
keywords = ["pueue"]
|
|
readme = "README.md"
|
|
authors = { workspace = true }
|
|
homepage = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
async-trait = "0.1"
|
|
byteorder = "1.5"
|
|
chrono = { workspace = true }
|
|
command-group = { workspace = true }
|
|
dirs = "5.0"
|
|
handlebars = { workspace = true }
|
|
log = { workspace = true }
|
|
rand = "0.8"
|
|
rcgen = "0.13"
|
|
rev_buf_reader = "0.3"
|
|
rustls = { version = "0.23", features = [
|
|
"ring",
|
|
"logging",
|
|
"std",
|
|
"tls12",
|
|
], default-features = false }
|
|
rustls-pemfile = "2"
|
|
serde = { workspace = true }
|
|
serde_cbor = "0.11"
|
|
serde_derive = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = "0.9"
|
|
shellexpand = "3.1"
|
|
snap = { workspace = true }
|
|
strum = { workspace = true }
|
|
strum_macros = { workspace = true }
|
|
thiserror = "1.0"
|
|
tokio = { workspace = true, features = ["macros", "net", "io-util"] }
|
|
tokio-rustls = { version = "0.26", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
better-panic = { workspace = true }
|
|
portpicker = "0.1"
|
|
pretty_assertions = { workspace = true }
|
|
tempfile = "3"
|
|
tokio = { workspace = true }
|
|
|
|
# --- Platform specific dependencies ---
|
|
# Windows
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = [
|
|
"tlhelp32",
|
|
"errhandlingapi",
|
|
"processthreadsapi",
|
|
"minwindef",
|
|
"impl-default",
|
|
] }
|
|
|
|
# Unix
|
|
[target.'cfg(unix)'.dependencies]
|
|
whoami = "1"
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
|
|
libproc = "0.14.6"
|
|
|
|
# Linux only
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
procfs = { version = "0.16", default-features = false }
|