[package] name = "u_lib" version = "0.1.0" authors = ["plazmoid "] edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = { workspace = true } chrono = "0.4.19" diesel = { workspace = true, optional = true } diesel-derive-enum = { version = "2.0.0", features = ["postgres"], optional = true } deadpool-diesel = { workspace = true, optional = true } dotenv = "0.15.0" envy = "0.4.2" guess_host_triple = "0.1.2" libc = "^0.2" lazy_static = "1.4.0" once_cell = "1.7.2" platforms = "3.0.1" reqwest = { workspace = true, features = ["native-tls", "blocking"] } shlex = "1.0.0" serde = { workspace = true } serde_json = { workspace = true } strum = { version = "0.20", features = ["derive"] } thiserror = { workspace = true } tokio = { workspace = true, features = ["rt-multi-thread", "sync", "macros", "process", "time"] } tracing = { workspace = true } tracing-appender = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } uuid = { workspace = true, features = ["serde", "v4"] } parking_lot = "0.12.1" bincode = "1.3.3" sha3 = "0.10.7" [target.'cfg(unix)'.dependencies] daemonize = "0.4.1" nix = "0.17" [features] agent = [] panel = [] server = ["dep:diesel", "dep:diesel-derive-enum", "dep:deadpool-diesel"] [dev-dependencies] rstest = "0.12"