From 5991bdfa9a209fa8193d919de3565c346cd934f3 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Wed, 6 May 2026 10:19:44 +0100 Subject: [PATCH] systemd: Release 0.13.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/radicle-systemd/CHANGELOG.md | 29 +++++++++++++++++++++++++++++ crates/radicle-systemd/Cargo.toml | 2 +- 4 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 crates/radicle-systemd/CHANGELOG.md diff --git a/Cargo.lock b/Cargo.lock index 9bca0a4d..5a8d2050 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3339,7 +3339,7 @@ dependencies = [ [[package]] name = "radicle-systemd" -version = "0.12.0" +version = "0.13.0" dependencies = [ "log", "systemd-journal-logger", diff --git a/Cargo.toml b/Cargo.toml index ad0dc024..d68ede22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ radicle-node = { version = "0.19", path = "crates/radicle-node" } radicle-oid = { version = "0.2.0", path = "crates/radicle-oid", default-features = false } radicle-protocol = { version = "0.7", path = "crates/radicle-protocol" } radicle-signals = { version = "0.11", path = "crates/radicle-signals" } -radicle-systemd = { version = "0.12", path = "crates/radicle-systemd" } +radicle-systemd = { version = "0.13", path = "crates/radicle-systemd" } radicle-term = { version = "0.17", path = "crates/radicle-term" } radicle-windows = { version = "0.1", path = "crates/radicle-windows" } schemars = { version = "1.0.4", default-features = false } diff --git a/crates/radicle-systemd/CHANGELOG.md b/crates/radicle-systemd/CHANGELOG.md new file mode 100644 index 00000000..e63fa7a1 --- /dev/null +++ b/crates/radicle-systemd/CHANGELOG.md @@ -0,0 +1,29 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added + +### Changed + +### Removed + +### Security + +## 0.13.0 + +### Changed + +- `radicle_systemd::listen::fd` is now marked `unsafe`. On success + (i.e. when it returns `Ok(Some(_))`), it removes the `LISTEN_PID`, + `LISTEN_FDS`, and `LISTEN_FDNAMES` environment variables via + `std::env::remove_var`, and inherits that function's safety + contract: callers must ensure no other thread is concurrently + reading or writing environment variables at the point of the call. + In practice, call this early in `main` — before spawning threads + and before any code (Rust or FFI) that may read the environment. diff --git a/crates/radicle-systemd/Cargo.toml b/crates/radicle-systemd/Cargo.toml index 099e51de..e129b8fd 100644 --- a/crates/radicle-systemd/Cargo.toml +++ b/crates/radicle-systemd/Cargo.toml @@ -5,7 +5,7 @@ homepage.workspace = true repository.workspace = true license.workspace = true edition.workspace = true -version = "0.12.0" +version = "0.13.0" rust-version.workspace = true [dependencies]