| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.48" |
| 15 |
name = "procfs-core" |
| 16 |
version = "0.17.0" |
| 17 |
authors = ["Andrew Chin <[email protected]>"] |
| 18 |
build = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "Data structures and parsing for the linux procfs pseudo-filesystem" |
| 24 |
documentation = "https://docs.rs/procfs-core/" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"procfs", |
| 28 |
"proc", |
| 29 |
"linux", |
| 30 |
"process", |
| 31 |
] |
| 32 |
categories = [ |
| 33 |
"os::unix-apis", |
| 34 |
"filesystem", |
| 35 |
] |
| 36 |
license = "MIT OR Apache-2.0" |
| 37 |
repository = "https://github.com/eminence/procfs" |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
all-features = true |
| 41 |
|
| 42 |
[lib] |
| 43 |
name = "procfs_core" |
| 44 |
path = "src/lib.rs" |
| 45 |
|
| 46 |
[dependencies.backtrace] |
| 47 |
version = "0.3" |
| 48 |
optional = true |
| 49 |
|
| 50 |
[dependencies.bitflags] |
| 51 |
version = "2" |
| 52 |
|
| 53 |
[dependencies.chrono] |
| 54 |
version = "0.4.20" |
| 55 |
features = ["clock"] |
| 56 |
optional = true |
| 57 |
default-features = false |
| 58 |
|
| 59 |
[dependencies.hex] |
| 60 |
version = "0.4" |
| 61 |
|
| 62 |
[dependencies.serde] |
| 63 |
version = "1.0" |
| 64 |
features = ["derive"] |
| 65 |
optional = true |
| 66 |
|
| 67 |
[features] |
| 68 |
default = ["chrono"] |
| 69 |
serde1 = [ |
| 70 |
"serde", |
| 71 |
"bitflags/serde", |
| 72 |
] |