# 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"
name = "u-siem-syslog"
version = "0.2.0"
authors = ["Samuel Garcés <samuel.garces@protonmail.com>"]
description = "Syslog listener for uSIEM"
readme = "README.md"
keywords = [
    "SIEM",
    "security",
    "logs",
    "syslog",
    "dns",
]
categories = ["parsing"]
license = "MIT"
repository = "https://github.com/u-siem/u-siem-core"

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

[dependencies.coarsetime]
version = "0.1.18"

[dependencies.rustls]
version = "0.22.2"
features = [
    "ring",
    "tls12",
]
optional = true
default_features = false

[dependencies.rustls-pemfile]
version = "2.0.0"
optional = true

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

[dependencies.u-siem]
version = "0"

[dev-dependencies.serial_test]
version = "3.0.0"

[features]
default = [
    "metrics",
    "tls",
]
metrics = []
tls = [
    "dep:rustls",
    "dep:rustls-pemfile",
]