# 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"
version = "0.6.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust systemd journal reader and writer SDK"
homepage = "https://github.com/netdata/systemd-journal-sdk"
documentation = "https://docs.rs/systemd-journal-sdk"
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"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[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-log-writer]
version = "0.6.4"
package = "systemd-journal-sdk-log-writer"

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

[dependencies.libc]
version = "0.2"

[dependencies.lz4_flex]
version = "0.13.1"
features = [
    "std",
    "safe-decode",
    "checked-decode",
]
default-features = false

[dependencies.lzma-rust2]
version = "0.16.3"
features = [
    "std",
    "xz",
    "encoder",
]
default-features = false

[dependencies.memmap2]
version = "0.9"

[dependencies.ouroboros]
version = "0.18"

[dependencies.ruzstd]
version = "0.8.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

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

[dependencies.walkdir]
version = "2.4"

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