qsu

Check-in Differences
Login

Check-in Differences

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

Difference From qsu-0.2.1 To qsu-0.3.0

2024-03-13
10:26
Crate maintenance. check-in: 79a9d5aff8 user: jan tags: trunk
2024-01-30
11:58
Release maintenance. check-in: 0c6e1661ef user: jan tags: qsu-0.3.0, trunk
11:53
Update version. check-in: eeff552f76 user: jan tags: trunk
11:51
Dependencies maintenance. Update env_logger to 0.11. check-in: 5c00299e46 user: jan tags: trunk
2024-01-16
16:35
Re-export apperr. check-in: c571a6d179 user: jan tags: qsu-0.2.1, trunk
16:23
Happy Clippy check-in: 9b8128a6c3 user: jan tags: qsu-0.2.0, 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.2.1"
version = "0.3.0"
edition = "2021"
license = "0BSD"
categories = [ "asynchronous" ]
keywords = [ "service", "systemd", "winsvc" ]
repository = "https://repos.qrnch.tech/pub/qsu"
description = "Service subsystem wrapper."
rust-version = "1.56"
28
29
30
31
32
33
34
35
36


37
38
39

40
41

42
43
44
45
46
47
48
28
29
30
31
32
33
34


35
36
37
38

39
40

41
42
43
44
45
46
47
48







-
-
+
+


-
+

-
+







rt = []
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.31" }
clap = { version = "4.4.14", optional = true, features = [
chrono = { version = "0.4.33" }
clap = { version = "4.4.18", optional = true, features = [
  "derive", "env", "string", "wrap_help"
] }
env_logger = { version = "0.10.1" }
env_logger = { version = "0.11.1" }
futures = { version = "0.3.30" }
itertools = { version = "0.12.0", optional = true }
itertools = { version = "0.12.1", optional = true }
killswitch = { version = "0.4.2" }
log = { version = "0.4.20" }
parking_lot = { version = "0.12.1" }
rocket = { version = "0.5.0", optional = true }
sidoc = { version = "0.1.0", optional = true }
tokio = { version = "1.35.1", features = ["sync"] }
time = { version = "0.3.31", features = ["macros"] }

Changes to www/changelog.md.

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


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
73
74
75
76
77
78
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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120




+
+


+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+





-
-



+
+









+
+











+
+







+
+









+
+



















+
+







# Change log

## [Unreleased]

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

### Added

### Changed

### Removed

---

## [0.3.0] - 2024-01-30

[Details](/vdiff?from=qsu-0.2.1&to=qsu-0.3.0)

### Changed

- Updated dependencies.  `env_logger` updated to 0.11.

---

## [0.2.1]

[Details](/vdiff?from=qsu-0.2.0&to=qsu-0.2.1)

### Added

- Re-export `apperr`

---

## [0.2.0]

[Details](/vdiff?from=qsu-0.1.0&to=qsu-0.2.0)

### Changed

- Use apperr 0.2.0, which introduces trait bounds to the `AppErr::new(E)` to
  make it more difficult to pass the wrong type to it.

### Removed

---

## [0.1.0] - 2024-01-10

[Details](/vdiff?from=qsu-0.0.7&to=qsu-0.1.0)

### Changed

- Use apperr crate for `AppErr` instead of using a custom in-tree
  implementation.

---

## [0.0.7] - 2023-12-09

[Details](/vdiff?from=qsu-0.0.6&to=qsu-0.0.7)

### Changed

- Use [rocket 0.5.0](https://rocket.rs/v0.5/news/2023-11-17-version-0.5/)
  for Rocket server application runtime types
- Updated dependencies.

---

## [0.0.6] - 2023-11-10

[Details](/vdiff?from=qsu-0.0.5&to=qsu-0.0.6)

### Changed

- Bugfix: Attempted to use rocket without rocket feature.

---

## [0.0.5] - 2023-11-03

[Details](/vdiff?from=qsu-0.0.4&to=qsu-0.0.5)

### Changed

- Use [rocket 0.5.0-rc.4](https://github.com/SergioBenitez/Rocket/blob/v0.5.0-rc.4/CHANGELOG.md#version-050-rc4-nov-1-2023)
  for Rocket server application runtime types

---

## [0.0.4] - 2023-10-29

[Details](/vdiff?from=qsu-0.0.3&to=qsu-0.0.4)

### Added

- Add the remaining `ArgsProc` callbacks in `ArgParser`.

### Changed

- Rather than pass a creation closure to the `ArgParser::proc()` for the run
  case, add a `ArgsProc::build_apprt()` that'll be invoked to create the
  runtime instead.
- More consistently use `AppErr` for callbacks.

### Removed

- Removed `err::CbOrigin`.

---

## [0.0.3] - 2023-10-23

[Details](/vdiff?from=qsu-0.0.2&to=qsu-0.0.3)

### Added

- Introduce an `AppErr` type that can wrap application-specific errors that
  the service runtime callbacks return for the `Err()` case.
- Make the `Error::App()` take two values: An `CbOrigin` that is used to
  identify which callback returned an error, and an `AppErr` containing the
91
92
93
94
95
96
97
98
99
100
101
102


103
104
105
106
107
108
109
133
134
135
136
137
138
139


140
141
142
143
144
145
146
147
148
149
150
151







-
-



+
+







### Removed

- `leak_default_service_name()` was removed because it no longer serves a
  purpose.
- The `signals` module is no longer public.  (It still exists, but is
  considered an implementation detail).



---

## [0.0.2] - 2023-10-19

[Details](/vdiff?from=qsu-0.0.1&to=qsu-0.0.2)

### Added

- Added some optional clap integration convenience functionality, that can be
  enabled using the 'clap' feature.
- Added `SvcEvt::Terminate`.
- Argument parser allows setting default service logging/tracing settings when