1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
# 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 = "2018"
name = "capctl"
version = "0.2.4"
authors = ["cptpcrd"]
description = "A pure-Rust interface to prctl() and Linux capabilities."
readme = "README.md"
keywords = [
"prctl",
"capabilities",
]
categories = ["os::linux-apis"]
license = "MIT"
repository = "https://github.com/cptpcrd/capctl"
[package.metadata.docs.rs]
all-features = true
rustc-args = [
"--cfg",
"docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies.bitflags]
version = "1.3"
[dependencies.cfg-if]
version = "1.0"
[dependencies.libc]
version = "0.2"
default-features = false
#[dependencies.sc]
#version = "0.2"
#optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false
[dev-dependencies.serde_test]
version = "1.0"
[features]
default = ["std"]
std = []
|