systemd_tmpfiles 0.2.9

A parser for systemd-tmpfiles configuration files
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.88.0"
name = "systemd_tmpfiles"
version = "0.2.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A parser for systemd-tmpfiles configuration files"
readme = "README.md"
keywords = [
    "parser",
    "systemd",
    "tmpfiles",
]
categories = ["os::linux-apis"]
license = "MPL-2.0"
repository = "https://github.com/VorpalBlade/paketkoll"
resolver = "2"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
features = ["user"]
targets = []

[features]
default = ["user"]
user = [
    "dep:dirs",
    "nix/user",
]

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

[dependencies.base64-simd]
version = "0.8.0"

[dependencies.bitflags]
version = "2.10.0"
features = ["serde"]

[dependencies.compact_str]
version = "0.9.0"
features = [
    "serde",
    "smallvec",
    "smallvec",
]

[dependencies.dirs]
version = "6.0.0"
optional = true

[dependencies.libc]
version = "0.2.180"

[dependencies.memchr]
version = "2.7.6"

[dependencies.nix]
version = "0.30.1"
features = ["feature"]
default-features = false

[dependencies.paketkoll_workspace_hack]
version = "0.1"

[dependencies.smallvec]
version = "1.15.1"
features = [
    "const_generics",
    "const_new",
    "serde",
    "union",
]

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.winnow]
version = "0.7.14"
features = ["simd"]

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[lints.clippy]
assigning_clones = "warn"
cast_lossless = "warn"
cloned_instead_of_copied = "warn"
derive_partial_eq_without_eq = "warn"
doc_markdown = "warn"
equatable_if_let = "warn"
explicit_iter_loop = "warn"
flat_map_option = "warn"
format_push_string = "warn"
ignored_unit_patterns = "warn"
manual_assert = "warn"
manual_let_else = "warn"
manual_string_new = "warn"
needless_pass_by_value = "warn"
or_fun_call = "warn"
ptr_as_ptr = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
type_repetition_in_bounds = "warn"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_safety_doc = "warn"
unnested_or_patterns = "warn"
unwrap_used = "warn"
use_self = "warn"
wildcard_imports = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
keyword_idents = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
redundant_lifetimes = "warn"
rust_2018_idioms = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"