zerobox-linux-sandbox 0.3.3

Sandbox any command with file, network, and credential controls.
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 = "2024"
name = "zerobox-linux-sandbox"
version = "0.3.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sandbox any command with file, network, and credential controls."
homepage = "https://github.com/afshinm/zerobox"
documentation = "https://docs.rs/zerobox-linux-sandbox"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/afshinm/zerobox"
resolver = "2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
name = "zerobox_linux_sandbox"
path = "src/lib.rs"
doctest = false

[[bin]]
name = "zerobox-linux-sandbox"
path = "src/main.rs"

[target.'cfg(target_os = "linux")'.dependencies.clap]
version = "4"
features = ["derive"]

[target.'cfg(target_os = "linux")'.dependencies.globset]
version = "0.4"

[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4.4"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.182"

[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.5.0"

[target.'cfg(target_os = "linux")'.dependencies.serde]
version = "1"
features = ["derive"]

[target.'cfg(target_os = "linux")'.dependencies.serde_json]
version = "1"

[target.'cfg(target_os = "linux")'.dependencies.sha2]
version = "0.10"

[target.'cfg(target_os = "linux")'.dependencies.thiserror]
version = "2.0.17"

[target.'cfg(target_os = "linux")'.dependencies.url]
version = "2"

[target.'cfg(target_os = "linux")'.dependencies.zerobox-process-hardening]
version = "=0.3.3"

[target.'cfg(target_os = "linux")'.dependencies.zerobox-protocol]
version = "=0.3.3"

[target.'cfg(target_os = "linux")'.dependencies.zerobox-sandboxing]
version = "=0.3.3"

[target.'cfg(target_os = "linux")'.dependencies.zerobox-utils-absolute-path]
version = "=0.3.3"

[target.'cfg(target_os = "linux")'.dev-dependencies.pretty_assertions]
version = "1.4.1"

[target.'cfg(target_os = "linux")'.dev-dependencies.tempfile]
version = "3.23.0"

[target.'cfg(target_os = "linux")'.dev-dependencies.tokio]
version = "1"
features = [
    "io-std",
    "macros",
    "process",
    "rt-multi-thread",
    "signal",
]

[lints.clippy]
expect_used = "deny"
identity_op = "deny"
manual_clamp = "deny"
manual_filter = "deny"
manual_find = "deny"
manual_flatten = "deny"
manual_map = "deny"
manual_memcpy = "deny"
manual_non_exhaustive = "deny"
manual_ok_or = "deny"
manual_range_contains = "deny"
manual_retain = "deny"
manual_strip = "deny"
manual_try_fold = "deny"
manual_unwrap_or = "deny"
needless_borrow = "deny"
needless_borrowed_reference = "deny"
needless_collect = "deny"
needless_late_init = "deny"
needless_option_as_deref = "deny"
needless_question_mark = "deny"
needless_update = "deny"
redundant_clone = "deny"
redundant_closure = "deny"
redundant_closure_for_method_calls = "deny"
redundant_static_lifetimes = "deny"
trivially_copy_pass_by_ref = "deny"
uninlined_format_args = "deny"
unnecessary_filter_map = "deny"
unnecessary_lazy_evaluations = "deny"
unnecessary_sort_by = "deny"
unnecessary_to_owned = "deny"
unwrap_used = "deny"

[lints.rust]