# 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_core" version = "0.5.7" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Check installed distro files for changes (core library)" readme = "README.md" keywords = [ "apt", "arch-linux", "debian", "pacman", "package-management", ] categories = [ "filesystem", "os::linux-apis", ] license = "MPL-2.0" repository = "https://github.com/VorpalBlade/paketkoll" [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" features = [ "arch_linux", "debian", ] targets = [] [lib] name = "paketkoll_core" path = "src/lib.rs" [dependencies.ahash] version = "0.8.11" [dependencies.ar] version = "0.9.0" optional = true [dependencies.bstr] version = "1.10.0" [dependencies.bzip2] version = "0.4.4" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.compact_str] version = "0.8.0" features = [ "serde", "smallvec", ] [dependencies.dashmap] version = "6.1.0" [dependencies.derive_builder] version = "0.20.1" [dependencies.either] version = "1.13.0" [dependencies.eyre] version = "0.6.12" [dependencies.faster-hex] version = "0.10.0" features = ["std"] default-features = false [dependencies.flate2] version = "1.0.33" features = ["zlib-ng"] optional = true default-features = false [dependencies.flume] version = "0.11.0" default-features = false [dependencies.glob] version = "0.3.1" [dependencies.ignore] version = "0.4.23" features = ["simd-accel"] [dependencies.libc] version = "0.2.158" [dependencies.md-5] version = "0.10.6" optional = true [dependencies.mtree2] version = "0.6.8" optional = true [dependencies.nix] version = "0.29.0" features = ["user"] optional = true default-features = false [dependencies.num_cpus] version = "1.16.0" [dependencies.paketkoll_types] version = "0.2.1" [dependencies.paketkoll_utils] version = "0.1.6" [dependencies.parking_lot] version = "0.12.3" [dependencies.phf] version = "0.11.2" features = ["macros"] [dependencies.rayon] version = "1.10.0" [dependencies.regex] version = "1.10.6" [dependencies.ring] version = "0.17.8" optional = true [dependencies.rust-ini] version = "0.21.1" optional = true [dependencies.scopeguard] version = "1.2.0" [dependencies.smallvec] version = "1.13.2" features = [ "const_generics", "const_new", "serde", "union", ] [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.systemd_tmpfiles] version = "0.2.1" optional = true [dependencies.tar] version = "0.4.41" [dependencies.tracing] version = "0.1.40" [dependencies.xz2] version = "0.1.7" optional = true [dependencies.zstd] version = "0.13.2" optional = true [dev-dependencies.indoc] version = "2.0.5" [dev-dependencies.pretty_assertions] version = "1.4.1" [features] __bzip2 = ["dep:bzip2"] __gzip = ["dep:flate2"] __md5 = ["dep:md-5"] __sha256 = ["dep:ring"] __xz = ["dep:xz2"] __zstd = ["dep:zstd"] arch_linux = [ "__gzip", "__sha256", "__zstd", "dep:mtree2", "dep:rust-ini", ] debian = [ "__bzip2", "__gzip", "__md5", "__xz", "__zstd", "dashmap/rayon", "dep:ar", ] default = [] systemd_tmpfiles = [ "__sha256", "dep:systemd_tmpfiles", "dep:nix", ] vendored = [ "xz2?/static", "bzip2?/static", ] [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"