# 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 = "2021"
rust-version = "1.80.0"
name = "paketkoll_types"
version = "0.2.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Check installed distro files for changes (types library)"
readme = "README.md"
keywords = ["package-management"]
categories = [
    "filesystem",
    "os::linux-apis",
]
license = "MPL-2.0"
repository = "https://github.com/VorpalBlade/paketkoll"

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

[dependencies.ahash]
version = "0.8.11"

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

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

[dependencies.dashmap]
version = "6.1.0"

[dependencies.derive_builder]
version = "0.20.1"

[dependencies.eyre]
version = "0.6.12"

[dependencies.faster-hex]
version = "0.9.0"
features = ["std"]
default-features = false

[dependencies.lasso]
version = "0.7.3"
features = [
    "ahasher",
    "inline-more",
    "multi-threaded",
]

[dependencies.nix]
version = "0.29.0"
features = [
    "fs",
    "user",
]
default-features = false

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

[dependencies.serde_bytes]
version = "0.11.15"

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

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

[dependencies.thiserror]
version = "1.0.63"

[lints.clippy]
assigning_clones = "warn"
doc_markdown = "warn"
format_push_string = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
semicolon_if_nothing_returned = "warn"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_safety_doc = "warn"
unwrap_used = "warn"
wildcard_imports = "warn"

[lints.rust]
rust-2018-idioms = "warn"
unused_qualifications = "warn"
