# 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.85"
name = "systemd-journal-sdk-index"
version = "0.6.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Index structures and query helpers for the pure Rust systemd journal SDK"
homepage = "https://github.com/netdata/systemd-journal-sdk"
documentation = "https://docs.rs/systemd-journal-sdk-index"
readme = "README.md"
keywords = [
    "systemd",
    "journal",
    "logging",
    "sdk",
]
categories = [
    "filesystem",
    "parser-implementations",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/netdata/systemd-journal-sdk"
resolver = "2"

[features]
allocative = [
    "dep:allocative",
    "journal-core/allocative",
    "journal-common/allocative",
]

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

[[test]]
name = "filter_evaluation"
path = "tests/filter_evaluation.rs"

[[test]]
name = "pagination"
path = "tests/pagination.rs"

[dependencies.allocative]
version = "0.3.4"
optional = true

[dependencies.journal-common]
version = "0.6.4"
package = "systemd-journal-sdk-common"

[dependencies.journal-core]
version = "0.6.4"
package = "systemd-journal-sdk-core"

[dependencies.journal-registry]
version = "0.6.4"
package = "systemd-journal-sdk-registry"

[dependencies.regex]
version = "1.10"

[dependencies.roaring]
version = "0.11"
features = ["serde"]

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

[dependencies.static_assertions]
version = "1.1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "rng",
    "serde",
]

[lints.clippy]
collapsible_if = "allow"
