podbox-protocol 0.9.8

Length-prefixed socket protocol and message types shared between the podbox host CLI and its guest daemon.
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.98"
name = "podbox-protocol"
version = "0.9.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Length-prefixed socket protocol and message types shared between the podbox host CLI and its guest daemon."
homepage = "https://bethropolis.github.io/podbox/"
documentation = "https://docs.rs/podbox-protocol"
readme = "README.md"
keywords = [
    "container",
    "podman",
    "protocol",
    "socket",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/bethropolis/podbox"

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

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

[dependencies.serde_json]
version = "1.0"

[target."cfg(unix)".dependencies.nix]
version = "0.31.3"
features = [
    "process",
    "signal",
    "fs",
    "poll",
    "user",
    "socket",
    "uio",
]

[target."cfg(unix)".dependencies.rustix]
version = "1.1"
features = [
    "process",
    "termios",
    "pty",
]

[target."cfg(unix)".dependencies.signal-hook]
version = "0.4"

[target."cfg(unix)".dev-dependencies.tempfile]
version = "3"

[lints.clippy]
collapsible_if = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
redundant_closure_for_method_calls = "allow"
redundant_guards = "allow"
ref_option = "allow"
semicolon_if_nothing_returned = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_trailing_comma = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
used_underscore_binding = "allow"
wildcard_in_or_patterns = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"