logfence-daemon 0.1.1

Validating syslog filter daemon — forwards valid JSON messages to rsyslog
# 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.86"
name = "logfence-daemon"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Validating syslog filter daemon — forwards valid JSON messages to rsyslog"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/hildstrom/logfence"

[[bin]]
name = "logfenced"
path = "src/main.rs"

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

[[bench]]
name = "message_throughput"
path = "benches/message_throughput.rs"
harness = false

[dependencies.bytes]
version = "1.11.1"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.jsonschema]
version = "0.46.5"
default-features = false

[dependencies.logfence-proto]
version = "0.1.1"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.socket2]
version = "0.6.3"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "net",
    "io-util",
    "sync",
    "rt-multi-thread",
    "macros",
    "signal",
    "time",
]

[dependencies.tokio-util]
version = "0.7.18"
features = ["codec"]

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.logfence-client]
version = "0.1.1"

[dev-dependencies.logfence-client-c]
version = "0.1.1"

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

[dev-dependencies.tokio]
version = "1.52.3"
features = [
    "net",
    "io-util",
    "sync",
    "rt-multi-thread",
    "macros",
    "signal",
    "time",
]

[lints.clippy]
allow_attributes_without_reason = "warn"
await_holding_lock = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "warn"
large_futures = "deny"
mem_forget = "deny"
module_name_repetitions = "allow"
panic = "deny"
panic_in_result_fn = "deny"
print_stderr = "deny"
print_stdout = "deny"
similar_names = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"