privsep-log

Crates.ioprivsep-log
lib.rsprivsep-log
version0.0.1
sourcesrc
created_at2021-04-18 18:21:54.871591
updated_at2021-09-17 21:49:00.106146
descriptionSimple async logging crate inspired by OpenBSD's `log.c`
homepage
repositoryhttps://github.com/reyk/privsep-rs
max_upload_size
id386258
size21,021
Reyk Floeter (reyk)

documentation

README

Privilege Separation for Rust

Crates.IO docs.rs Build Status License

This crate is experimental and WIP.

Minimum Rust version

This crate uses const generics and requires Rust 1.51 or later.

TODO

Many things, including:

  • Improve documentation and rustdoc.
  • process:
    • Allow to spawn multiple processes of a same child (not really needed with tokio).
    • Improve naming of structs.
    • Add support for OS-specific sandboxing (e.g. OpenBSD pledge)
    • Add support for running privileged operations in a child before privdrop.
    • Help to get ancillary into stable.
    • Add suppport for nightly.
  • log:
    • Improve async logging and lazy initialization of log messages.
  • Write more tests to improve code coverage.

Copyright and license

Licensed under an OpenBSD-ISC-style license, see LICENSE for details.

Commit count: 60

cargo fmt