merry-process 0.1.4

Sandboxed host-process execution (Landlock/seccomp, Seatbelt, Windows Job Objects) for Merry.
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"
rust-version = "1.95"
name = "merry-process"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sandboxed host-process execution (Landlock/seccomp, Seatbelt, Windows Job Objects) for Merry."
homepage = "https://github.com/locez/merry"
readme = false
keywords = [
    "ai",
    "agent",
    "llm",
    "cli",
    "coding",
]
categories = [
    "os",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/locez/merry"

[features]
default = ["sandbox"]
sandbox = [
    "dep:landlock",
    "dep:seccompiler",
]

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

[[bin]]
name = "merry-sandbox-helper"
path = "src/bin/merry-sandbox-helper.rs"

[[test]]
name = "network"
path = "tests/network.rs"

[dependencies.merry-core]
version = "0.1.4"

[dependencies.merry-runtime]
version = "0.1.4"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
    "io-util",
    "fs",
    "process",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
    "io-util",
    "fs",
    "process",
    "time",
    "test-util",
]

[dev-dependencies.tokio-util]
version = "0.7"

[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4.7"
optional = true

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

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

[target."cfg(unix)".dependencies.rustix]
version = "1"
features = [
    "fs",
    "process",
    "stdio",
]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_System_JobObjects",
    "Win32_System_Threading",
]

[lints.rust]
unsafe_code = "deny"