detect-container 1.0.0

Detect whether the current process is running inside a container (Docker, Podman, etc.).
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.64"
name = "detect-container"
version = "1.0.0"
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detect whether the current process is running inside a container (Docker, Podman, etc.)."
homepage = "https://github.com/ogital-net/detect-container"
documentation = "https://docs.rs/detect-container"
readme = "README.md"
keywords = [
    "container",
    "docker",
    "podman",
    "detect",
    "linux",
]
categories = [
    "os",
    "os::linux-apis",
]
license = "BSD-2-Clause"
repository = "https://github.com/ogital-net/detect-container"

[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",
]

[features]
diagnostics = []

[lib]
name = "detect_container"
path = "src/lib.rs"

[[example]]
name = "report"
path = "examples/report.rs"
required-features = ["diagnostics"]

[dependencies]