# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "drop-root"
version = "1.1.0"
authors = ["Jesus Hernandez <jesushdez@protonmail.com>"]
build = false
exclude = [
    ".github/**",
    ".vscode/**",
    ".idea/**",
    "tests/**",
    "benches/**",
    "Cargo.lock",
    "LICENSE",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Set a user id and group (using the names) id to drop root privileges"
readme = "README.md"
keywords = [
    "unix",
    "privileges",
    "security",
    "service",
    "daemon",
]
categories = [
    "development-tools::ffi",
    "os::unix-apis",
]
license = "Unlicense"
repository = "https://github.com/jhg/drop-root-rs"

[features]
default = ["logging"]
logging = ["log"]

[lib]
name = "drop_root"
path = "src/lib.rs"

[dependencies.libc]
version = "^0.2"

[dependencies.log]
version = "^0.4"
optional = true
