detect-container 1.0.0

Detect whether the current process is running inside a container (Docker, Podman, etc.).
Documentation
[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]
# Enables the `diagnostics` module, which runs every detection check
# without short-circuiting and reports the result of each one. Intended
# for tests, debugging, and the bundled `report` example. Not part of
# the stable API surface.
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"]