Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
systemd: Release 0.13.0
Fintan Halpenny committed 2 days ago
commit 5991bdfa9a209fa8193d919de3565c346cd934f3
parent 2871417808925683d7831ebd1706e9fc12861639
4 files changed +32 -3
modified Cargo.lock
@@ -3339,7 +3339,7 @@ dependencies = [

[[package]]
name = "radicle-systemd"
-
version = "0.12.0"
+
version = "0.13.0"
dependencies = [
 "log",
 "systemd-journal-logger",
modified 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 }
added 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.
modified 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]