[[bench]]
harness = false
name = "cpuinfo"
path = "benches/cpuinfo.rs"
[dependencies.backtrace]
optional = true
version = "0.3"
[dependencies.bitflags]
default-features = false
version = "2.0"
[dependencies.chrono]
default-features = false
features = ["clock"]
optional = true
version = "0.4.20"
[dependencies.flate2]
optional = true
version = "1.0.3"
[dependencies.hex]
version = "0.4"
[dependencies.procfs-core]
default-features = false
version = "0.17.0"
[dependencies.rustix]
features = ["fs", "process", "param", "system", "thread"]
version = "0.38.19"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.failure]
version = "0.1"
[dev-dependencies.libc]
version = "0.2.139"
[dev-dependencies.procinfo]
version = "0.4.2"
[[example]]
name = "crypto"
path = "examples/crypto.rs"
[[example]]
name = "diskstat"
path = "examples/diskstat.rs"
[[example]]
name = "dump"
path = "examples/dump.rs"
[[example]]
name = "interface_stats"
path = "examples/interface_stats.rs"
[[example]]
name = "iomem"
path = "examples/iomem.rs"
[[example]]
name = "kpagecount"
path = "examples/kpagecount.rs"
[[example]]
name = "lslocks"
path = "examples/lslocks.rs"
[[example]]
name = "lsmod"
path = "examples/lsmod.rs"
[[example]]
name = "mountinfo"
path = "examples/mountinfo.rs"
[[example]]
name = "mounts"
path = "examples/mounts.rs"
[[example]]
name = "netstat"
path = "examples/netstat.rs"
[[example]]
name = "partitions"
path = "examples/partitions.rs"
[[example]]
name = "pfn"
path = "examples/pfn.rs"
[[example]]
name = "pressure"
path = "examples/pressure.rs"
[[example]]
name = "process_hierarchy"
path = "examples/process_hierarchy.rs"
[[example]]
name = "process_kpageflags"
path = "examples/process_kpageflags.rs"
[[example]]
name = "ps"
path = "examples/ps.rs"
[[example]]
name = "self_memory"
path = "examples/self_memory.rs"
[[example]]
name = "shm"
path = "examples/shm.rs"
[features]
backtrace = ["dep:backtrace", "procfs-core/backtrace"]
default = ["chrono", "flate2", "procfs-core/default"]
serde1 = ["serde", "procfs-core/serde1"]
[lib]
name = "procfs"
path = "src/lib.rs"
[package]
authors = ["Andrew Chin <achin@eminence32.net>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["os::unix-apis", "filesystem"]
description = "Interface to the linux procfs pseudo-filesystem"
documentation = "https://docs.rs/procfs/"
edition = "2018"
keywords = ["procfs", "proc", "linux", "process"]
license = "MIT OR Apache-2.0"
name = "procfs"
readme = "README.md"
repository = "https://github.com/eminence/procfs"
rust-version = "1.48"
version = "0.17.0"
[package.metadata.docs.rs]
all-features = true