priv_sep

Privilege separation library.
git clone https://git.philomathiclife.com/repos/priv_sep
Log | Files | Refs | README

Cargo.toml (973B)


      1 [package]
      2 authors = ["Zack Newman <zack@philomathiclife.com>"]
      3 categories = ["development-tools::ffi", "external-ffi-bindings", "os"]
      4 description = "FFI for pledge(2) and unveil(2) on OpenBSD."
      5 documentation = "https://docs.rs/priv_sep/latest/priv_sep/"
      6 edition = "2021"
      7 keywords = ["ffi", "openbsd", "privsep", "security"]
      8 license = "MIT OR Apache-2.0"
      9 name = "priv_sep"
     10 readme = "README.md"
     11 repository = "https://git.philomathiclife.com/repos/priv_sep/"
     12 rust-version = "1.81.0"
     13 version = "2.1.0"
     14 
     15 [badges]
     16 maintenance = { status = "actively-developed" }
     17 
     18 [package.metadata.docs.rs]
     19 all-features = true
     20 rustdoc-args = ["--cfg", "docsrs"]
     21 
     22 [target.'cfg(target_os = "openbsd")'.dependencies]
     23 libc = { version = "0.2.158", default-features = false, features = ["std"], optional = true }
     24 
     25 
     26 ### FEATURES #################################################################
     27 
     28 [features]
     29 default = ["openbsd"]
     30 
     31 # Provide pledge and unveil support for OpenBSD.
     32 openbsd = ["dep:libc"]