tartarus-api 0.1.1

Structured API for sandboxing system (currently utilizing `bubblewrap`)
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 = "tartarus-api"
version = "0.1.1"
authors = ["Saghm Rossi <mail@saghm.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structured API for sandboxing system (currently utilizing `bubblewrap`)"
readme = "README.md"
keywords = [
    "sandbox",
    "bubblewrap",
    "container",
    "permission",
    "agent",
]
categories = [
    "command-line-interface",
    "config",
    "filesystem",
    "security",
]
license = "Apache-2.0"
repository = "https://gitlab.com/saghm/tartarus"
resolver = "2"

[features]
config_file = ["dep:serde"]
log = ["dep:log"]
opencode = ["dep:jsonc-parser"]
zed = ["dep:jsonc-parser"]

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

[dependencies.jsonc-parser]
version = "0.32.4"
features = ["cst"]
optional = true

[dependencies.log]
version = "0.4.32"
optional = true

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

[dependencies.thiserror]
version = "2.0"

[lints.clippy]
all = "deny"
cargo = "deny"
complexity = "deny"
correctness = "deny"
nursery = "deny"
pedantic = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"

[lints.clippy.cargo-common-metadata]
level = "allow"
priority = 1

[lints.clippy.module-name-repetitions]
level = "allow"
priority = 1

[lints.clippy.multiple-crate-versions]
level = "allow"
priority = 1

[lints.clippy.must-use-candidate]
level = "allow"
priority = 1

[lints.clippy.redundant-pub-crate]
level = "allow"
priority = 1

[lints.clippy.too-many-arguments]
level = "allow"
priority = 1

[lints.rust]
unsafe_code = "forbid"