syslog-server 0.2.0

A small automation project to set up a syslog server, which also serves as a playground for Rust.
# 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"
name = "syslog-server"
version = "0.2.0"
authors = ["Elias Mörz <elias.moerz@mail.de>"]
build = false
include = [
    "src/**",
    "LICENSE*",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small automation project to set up a syslog server, which also serves as a playground for Rust."
homepage = "https://github.com/NachtsternBuild/Syslog-Server"
readme = "README.md"
keywords = [
    "cli",
    "tool",
]
categories = ["command-line-utilities"]
license = "GPL-3.0"
repository = "https://github.com/NachtsternBuild/Syslog-Server"

[package.metadata.deb]
copyright = "2026, Elias Mörz <elias.moerz@mail.de>"
depends = "$auto"
license-file = [
    "LICENSE",
    "0",
]
maintainer = "Elias Mörz <elias.moerz@mail.de>"
priority = "optional"
section = "utils"

[features]
cli = []
default = ["cli"]
json = [
    "serde",
    "serde_json",
]

[[bin]]
name = "syslog-server"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

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

[dependencies.directories]
version = "6.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.libc]
version = "0.2"

[dependencies.local-ip-address]
version = "0.6"

[dependencies.log]
version = "0.4"

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

[dependencies.serde_json]
version = "1.0"
optional = true

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true