Index: Cargo.toml ================================================================== --- Cargo.toml +++ Cargo.toml @@ -1,12 +1,12 @@ [package] name = "qsu" -version = "0.4.0" +version = "0.4.1" edition = "2021" license = "0BSD" # https://crates.io/category_slugs -categories = [ "asynchronous" ] +categories = [ "os" ] keywords = [ "service", "systemd", "winsvc" ] repository = "https://repos.qrnch.tech/pub/qsu" description = "Service subsystem wrapper." rust-version = "1.56" exclude = [ @@ -34,25 +34,25 @@ tokio = ["rt", "tokio/macros", "tokio/rt-multi-thread", "tokio/signal"] wait-for-debugger = ["dep:dbgtools-win"] [dependencies] apperr = { version = "0.2.0" } -async-trait = { version = "0.1.77" } -chrono = { version = "0.4.35" } -clap = { version = "4.5.2", optional = true, features = [ +async-trait = { version = "0.1.80" } +chrono = { version = "0.4.38" } +clap = { version = "4.5.4", optional = true, features = [ "derive", "env", "string", "wrap_help" ] } env_logger = { version = "0.11.3" } futures = { version = "0.3.30" } -itertools = { version = "0.12.1", optional = true } +itertools = { version = "0.13.0", optional = true } killswitch = { version = "0.4.2" } log = { version = "0.4.20" } -parking_lot = { version = "0.12.1" } +parking_lot = { version = "0.12.2" } rocket = { version = "0.5.0", optional = true } sidoc = { version = "0.1.0", optional = true } -tokio = { version = "1.36.0", features = ["sync"] } -time = { version = "0.3.34", features = ["macros"] } +tokio = { version = "1.37.0", features = ["sync"] } +time = { version = "0.3.36", features = ["macros"] } tracing = { version = "0.1.40" } [dependencies.tracing-subscriber] version = "0.3.18" default-features = false @@ -60,27 +60,27 @@ [target.'cfg(target_os = "linux")'.dependencies] sd-notify = { version = "0.4.1", optional = true } [target.'cfg(unix)'.dependencies] -libc = { version = "0.2.153" } +libc = { version = "0.2.155" } nix = { version = "0.28.0", features = ["pthread", "signal"] } [target.'cfg(windows)'.dependencies] dbgtools-win = { version = "0.2.1", optional = true } eventlog = { version = "0.2.2" } registry = { version = "1.2.3" } scopeguard = { version = "1.2.0" } -windows-service = { version = "0.6.0" } +windows-service = { version = "0.7.0" } windows-sys = { version = "0.52.0", features = [ "Win32_Foundation", "Win32_System_Console" ] } winreg = { version = "0.52.0" } [dev-dependencies] -clap = { version = "4.5.2", features = ["derive", "env", "wrap_help"] } -tokio = { version = "1.36.0", features = ["time"] } +clap = { version = "4.5.4", features = ["derive", "env", "wrap_help"] } +tokio = { version = "1.37.0", features = ["time"] } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] Index: src/lib.rs ================================================================== --- src/lib.rs +++ src/lib.rs @@ -63,10 +63,12 @@ pub use tokio; #[cfg(feature = "rocket")] pub use rocket; +pub use log; +pub use tracing; /// Attempt to derive a default service name based on the executable's name. /// /// The idea is to get the current executable's file name and strip it's /// extension (if there is one). The file stem name is the default service Index: www/changelog.md ================================================================== --- www/changelog.md +++ www/changelog.md @@ -1,17 +1,31 @@ # Change log ## [Unreleased] -[Details](/vdiff?from=qsu-0.4.0&to=trunk) +[Details](/vdiff?from=qsu-0.4.1&to=trunk) ### Added ### Changed ### Removed +--- + +## [0.4.1] - 2024-05-19 + +[Details](/vdiff?from=qsu-0.4.0&to=qsu-0.4.1) + +### Added + +- Re-export `log` and `tracing`. + +### Changed + +- [windows-service](https://crates.io/crates/windows-service) 0.6.0 → 0.7.0 + --- ## [0.4.0] - 2024-03-22 [Details](/vdiff?from=qsu-0.3.0&to=qsu-0.4.0)