qsu

Check-in Differences
Login

Check-in Differences

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Difference From qsu-0.6.0 To qsu-0.6.1

2024-10-16
15:01
Make display_name and description options generally available for register-service subcommand. check-in: 3c799881cf user: jan tags: trunk
2024-10-05
20:32
Release maintenance. check-in: 2e398322b7 user: jan tags: qsu-0.6.1, trunk
20:25
Crate maintenance. check-in: c677092c76 user: jan tags: trunk
20:13
Docs. To make clap documentation make more sense. check-in: c99a00ffd2 user: jan tags: trunk
2024-09-13
01:15
Update description. check-in: 8f422d4ee5 user: jan tags: qsu-0.6.0, trunk
01:07
Cleanup. check-in: 8984fa32cf user: jan tags: trunk

Changes to Cargo.toml.

1
2
3

4
5
6
7
8
9
10
1
2

3
4
5
6
7
8
9
10


-
+







[package]
name = "qsu"
version = "0.6.0"
version = "0.6.1"
edition = "2021"
license = "0BSD"
# https://crates.io/category_slugs
categories = [ "os" ]
keywords = [ "service", "systemd", "winsvc" ]
repository = "https://repos.qrnch.tech/pub/qsu"
description = "Service subsystem utilities and runtime wrapper."
32
33
34
35
36
37
38
39

40
41

42
43
44
45

46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

63
64
65

66
67
68
69
70
71
72
32
33
34
35
36
37
38

39
40

41
42
43
44

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

62
63
64

65
66
67
68
69
70
71
72







-
+

-
+



-
+
















-
+


-
+







systemd = ["dep:sd-notify"]
rocket = ["rt", "dep:rocket", "tokio"]
rt = []
tokio = ["rt", "tokio/macros", "tokio/rt-multi-thread", "tokio/signal"]
wait-for-debugger = ["dep:dbgtools-win"]

[dependencies]
async-trait = { version = "0.1.82" }
async-trait = { version = "0.1.83" }
chrono = { version = "0.4.38" }
clap = { version = "4.5.17", optional = true, features = [
clap = { version = "4.5.19", optional = true, features = [
  "derive", "env", "string", "wrap_help"
] }
env_logger = { version = "0.11.5" }
futures = { version = "0.3.30" }
futures = { version = "0.3.31" }
itertools = { version = "0.13.0", optional = true }
killswitch = { version = "0.4.2" }
log = { version = "0.4.22" }
parking_lot = { version = "0.12.3" }
rocket = { version = "0.5.1", optional = true }
sidoc = { version = "0.1.0", optional = true }
tokio = { version = "1.40.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
features = ["env-filter", "time", "fmt", "ansi"]

[target.'cfg(target_os = "linux")'.dependencies]
sd-notify = { version = "0.4.2", optional = true }
sd-notify = { version = "0.4.3", optional = true }

[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.158" }
libc = { version = "0.2.159" }
nix = { version = "0.29.0", features = ["pthread", "signal", "time"] }

[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" }

Changes to src/argp.rs.

76
77
78
79
80
81
82
83

84
85
86
87
88
89
90
76
77
78
79
80
81
82

83
84
85
86
87
88
89
90







-
+







    let sub = mk_run_cmd(subcmd, svcname);
    cli.subcommand(sub)
  } else {
    cli
  }
}

/// Service registration context.
/// Register service.
#[derive(Debug, Args)]
struct RegSvcArgs {
  /// Autostart service at boot.
  #[arg(short = 's', long)]
  auto_start: bool,

  /// Set an optional display name for the service.

Changes to www/changelog.md.

1
2
3
4
5
6
7























8
9
10
11
12
13
14
1
2
3
4
5
6

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36






-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







# Change log

⚠️  indicates a breaking change.

## [Unreleased]

[Details](/vdiff?from=qsu-0.5.0&to=trunk)
[Details](/vdiff?from=qsu-0.6.1&to=trunk)

### Added

### Changed

### Removed

---

## [0.6.1] - 2024-10-05

[Details](/vdiff?from=qsu-0.6.0&to=qsu-0.6.1)

### Changed

- Rephrase `register-service` command line parser docs.

---

## [0.6.0] - 2024-09-13

[Details](/vdiff?from=qsu-0.5.0&to=qsu-0.6.0)

### Added

- The reload service event has been implmented.
  - It is not supported on Windows.  (The Windows service subsystem offers no
    "reload" event).
  - On unixy systems it is triggered through the SIGHUP signal.