libsystemd-rs

A pure-Rust client library to work with systemd

OTHER License

Downloads
547.9K
Stars
102
Committers
17
libsystemd-rs - v0.7.0 Latest Release

Published by lucab 12 months ago

Changes:

  • cargo: update nix requirement from ^0.26 to ^0.27
  • cargo: update MSRV to 1.65
  • logging: fix build in armv7
  • logging: directly use memfd_create syscall
  • lib: fix IO safety
  • feat: Enhancing Id128 structure
  • logging: fix typo in connected_to_journal docs
  • logging: forgo validation of MESSAGE and PRIORITY fields at runtime
  • sysusers: internal Context helper to simplify error handling
  • id128: use internal Context helper to simplify error handling
  • daemon: use internal Context helper to simplify error handling
  • credentials: use internal Context helper to simplify error handling
  • activation: use internal Context helper to simplify error handling
libsystemd-rs - v0.6.0

Published by lucab almost 2 years ago

Changes:

  • activation: fix build for compatibility with newer nix
  • cargo: bump MSRV to 1.56
  • ci: update workflow
  • credentials: add helpers for accessing credential data
  • daemon/notify: add support for abstract Unix sockets
  • daemon/notify: add support for sending file descriptors
  • daemon/notify: sanity-check state entries
  • errors: add internal helpers to simplify error handling
  • id128: add get_boot() and get_boot_app_specific()
  • logging: use std API to extract journal stream from FD
  • logging: fix connected_to_journal() logic
  • logging: only check stderr for protocol upgrading
  • logging: reduce the amount of allocations in hotpath
  • logging: un-export some JournalStream methods
libsystemd-rs - v0.5.0

Published by lucab almost 3 years ago

Changes:

  • cargo: update sha2 and hmac to new version
  • sysusers: introduce new module for 'sysusers.d' configuration fragments
  • sysusers: add parsing logic
  • sysusers: expose more field details
  • sysusers: add serialization support
libsystemd-rs - v0.4.1

Published by lucab almost 3 years ago

Changes:

  • logging: close our side of memfd
  • logging: reuse sending socket
libsystemd-rs -

Published by swsnr almost 3 years ago

Changes:

  • logging: Detect journal connection
  • logging: Make Priority Copy and Clone
libsystemd-rs - libsystemd 0.3.1

Published by lucab over 3 years ago

Changes:

  • logging: fix checks for invalid journal fields
libsystemd-rs - libsystemd 0.3.0

Published by lucab over 3 years ago

Changes:

  • activation: do not discard unknown descriptors
  • errors: switch to thiserror
  • logging: properly encode multiline journal messages
  • cargo: refresh all dependencies
  • ci: upgrade to GitHub-native Dependabot
  • ci: bump toolchains
  • ci: move Travis jobs to GitHub actions
libsystemd-rs - libsystemd 0.2.1

Published by lucab over 4 years ago

Changes:

  • activation: return errors on FD reception failures
  • ci: update travis and run on arm64
  • logging: conditionally run journald tests
libsystemd-rs - libsystemd 0.2.0

Published by lucab over 4 years ago

Changes:

  • cargo: switch to edition 2018
  • logging: add support for writing to journald
  • logging: add logic to support sending structured entries to journald
  • misc CI and project cleanups
  • daemon: optimize NotifyState
  • activation: add sd_listen_fds and sd_listen_fds_with_names
  • docs: add licenses and copyrights
  • id128: derive Clone
libsystemd-rs - libsystemd 0.1.0

Published by lucab over 5 years ago

  • unit: add escape helpers
  • id128: add 128-bits IDs
  • cargo: update all dependencies
libsystemd-rs - libsystemd 0.0.2

Published by lucab about 7 years ago

libsystemd-rs - libsystemd 0.0.1

Published by lucab about 7 years ago