[package]
name = "detect-container"
version = "1.0.0"
edition = "2021"
rust-version = "1.64"
description = "Detect whether the current process is running inside a container (Docker, Podman, etc.)."
documentation = "https://docs.rs/detect-container"
repository = "https://github.com/ogital-net/detect-container"
homepage = "https://github.com/ogital-net/detect-container"
readme = "README.md"
license = "BSD-2-Clause"
keywords = ["container", "docker", "podman", "detect", "linux"]
categories = ["os", "os::linux-apis"]
include = [
"src/**/*.rs",
"examples/**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE",
]
[features]
diagnostics = []
[dependencies]
[[example]]
name = "report"
required-features = ["diagnostics"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]