| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.63" |
| 15 |
name = "caps" |
| 16 |
version = "0.5.6" |
| 17 |
authors = ["Luca Bruno <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
".gitignore", |
| 21 |
".travis.yml", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "A pure-Rust library to work with Linux capabilities" |
| 29 |
documentation = "https://docs.rs/caps" |
| 30 |
readme = "README.md" |
| 31 |
keywords = [ |
| 32 |
"Linux", |
| 33 |
"capabilities", |
| 34 |
"POSIX", |
| 35 |
"getcap", |
| 36 |
"setcap", |
| 37 |
] |
| 38 |
license = "MIT/Apache-2.0" |
| 39 |
repository = "https://github.com/lucab/caps-rs" |
| 40 |
|
| 41 |
[package.metadata.release] |
| 42 |
publish = false |
| 43 |
push = false |
| 44 |
post-release-commit-message = "cargo: development version bump" |
| 45 |
pre-release-commit-message = "cargo: caps release {{version}}" |
| 46 |
sign-commit = true |
| 47 |
sign-tag = true |
| 48 |
tag-message = "caps {{version}}" |
| 49 |
|
| 50 |
[features] |
| 51 |
serde_support = ["serde"] |
| 52 |
|
| 53 |
[lib] |
| 54 |
name = "caps" |
| 55 |
path = "src/lib.rs" |
| 56 |
|
| 57 |
[[example]] |
| 58 |
name = "all_caps" |
| 59 |
path = "examples/all_caps.rs" |
| 60 |
|
| 61 |
[[example]] |
| 62 |
name = "clear_permitted" |
| 63 |
path = "examples/clear_permitted.rs" |
| 64 |
|
| 65 |
[[example]] |
| 66 |
name = "legacy" |
| 67 |
path = "examples/legacy.rs" |
| 68 |
|
| 69 |
[[example]] |
| 70 |
name = "manipulate_sys_nice" |
| 71 |
path = "examples/manipulate_sys_nice.rs" |
| 72 |
|
| 73 |
[[example]] |
| 74 |
name = "parse" |
| 75 |
path = "examples/parse.rs" |
| 76 |
|
| 77 |
[[test]] |
| 78 |
name = "ambient" |
| 79 |
path = "tests/ambient.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "bounding" |
| 83 |
path = "tests/bounding.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "effective" |
| 87 |
path = "tests/effective.rs" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "runtime" |
| 91 |
path = "tests/runtime.rs" |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "securebits" |
| 95 |
path = "tests/securebits.rs" |
| 96 |
|
| 97 |
[dependencies.libc] |
| 98 |
version = "^0.2" |
| 99 |
|
| 100 |
[dependencies.serde] |
| 101 |
version = "^1.0" |
| 102 |
features = ["derive"] |
| 103 |
optional = true |
| 104 |
|
| 105 |
[dev-dependencies.serde_json] |
| 106 |
version = "^1.0" |