Skip to content

Commit dd5d7c9

Browse files
committed
Merge tag 'samedec-0.4.2' into develop
Expire/Purge Time Fix FIXES * Previous versions of samedec calculated `$SAMEDEC_PURGETIME` naively as: issue datetime + purge duration This is *almost* correct, but the SAME specification calls for rounding this value… * … to the nearest 15 minute increment for durations ≤1 hour * … to the nearest 30 minute increment for longer-duration messages The purge time now rounds correctly. * Drop `slice-ring-buffer`, which had multiple [memory safety] issues. Testing has not revealed any ASAN findings in samedec v0.4.1, but we have removed this dependency anyway out of an abundance of caution. OTHER Our CI environment, Github Actions, now uses containers that are themselves built by and within the Github Actions platform. [memory safety]: https://rustsec.org/advisories/RUSTSEC-2025-0044
2 parents c76b372 + 80ce1e4 commit dd5d7c9

File tree

5 files changed

+31
-9
lines changed

5 files changed

+31
-9
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# CHANGELOG
22

3+
## samedec-0.4.2: Expire/Purge Time Fix
4+
5+
FIXES
6+
7+
* Previous versions of samedec calculated `$SAMEDEC_PURGETIME` naively as:
8+
9+
issue datetime + purge duration
10+
11+
This is *almost* correct, but the SAME specification calls for rounding this value…
12+
13+
* … to the nearest 15 minute increment for durations ≤1 hour
14+
15+
* … to the nearest 30 minute increment for longer-duration messages
16+
17+
The purge time now rounds correctly.
18+
19+
* Drop `slice-ring-buffer`, which had multiple [memory safety issues](https://rustsec.org/advisories/RUSTSEC-2025-0044). Testing has not revealed any ASAN findings in [samedec-0.4.1](#samedec-041-maintenance-release), but we have removed this dependency anyway out of an abundance of caution.
20+
21+
OTHER
22+
23+
Our CI environment, Github Actions, now uses containers that are themselves built by and within the Github Actions platform.
24+
325
## samedec-0.4.1: Maintenance Release
426

527
This minor maintenance release helps keep our dependencies

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/samedec/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "samedec"
33
rust-version = "1.74"
44
description = "A SAME/EAS digital receiver and alerting program"
5-
version = "0.4.1"
5+
version = "0.4.2"
66
authors = ["Colin S <[email protected]>"]
77
license = "MIT OR Apache-2.0"
88
edition = "2021"
@@ -11,8 +11,8 @@ repository = "https://github.com/cbs228/sameold.git"
1111
readme = "README.md"
1212

1313
[dependencies]
14-
sameold = {path = "../sameold", version = "^0.5.0"}
15-
sameplace = {path = "../sameplace", version = "^0.1.0", features = ["chrono"]}
14+
sameold = {path = "../sameold", version = "^0.6.0"}
15+
sameplace = {path = "../sameplace", version = "^0.2.0", features = ["chrono"]}
1616
anyhow = "^1"
1717
byteorder = "^1.4"
1818
clap = {version = "^4.5", features = ["color", "derive", "wrap_help"]}

crates/sameold/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "sameold"
33
rust-version = "1.70"
44
description = "A SAME/EAS digital receiver library"
5-
version = "0.5.0"
5+
version = "0.6.0"
66
authors = ["Colin S <[email protected]>"]
77
license = "MIT OR Apache-2.0"
88
edition = "2021"
@@ -11,7 +11,7 @@ repository = "https://github.com/cbs228/sameold.git"
1111
readme = "README.md"
1212

1313
[dependencies]
14-
sameplace = {path = "../sameplace", version = "^0.1"}
14+
sameplace = {path = "../sameplace", version = "^0.2"}
1515
arrayvec = "^0.7.1"
1616
arraydeque = "^0.5"
1717
log = "0.4"

crates/sameplace/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "sameplace"
33
rust-version = "1.70"
44
description = "A SAME/EAS Message Parser"
5-
version = "0.1.0"
5+
version = "0.2.0"
66
authors = ["Colin S <[email protected]>"]
77
license = "MIT OR Apache-2.0"
88
edition = "2021"

0 commit comments

Comments
 (0)