syslog_fmt 0.5.0

Zero-allocation RFC 5424 syslog message formatter
Documentation
# 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 = "syslog_fmt"
version = "0.5.0"
authors = ["opensource@tandemdrive.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-allocation RFC 5424 syslog message formatter"
readme = "README.md"
keywords = [
    "syslog",
    "rfc-5424",
    "logging",
    "logs",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/tandemdrive/syslog-fmt"

[features]
chrono = ["dep:chrono"]
default = ["chrono"]

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

[[example]]
name = "default_config"
path = "examples/default_config.rs"
required-features = ["chrono"]

[[example]]
name = "fine_grained_write_control"
path = "examples/fine_grained_write_control.rs"
required-features = ["chrono"]

[[example]]
name = "simple_datagram_based_logger"
path = "examples/simple_datagram_based_logger.rs"
required-features = ["chrono"]

[[example]]
name = "unix_datagram"
path = "examples/unix_datagram.rs"
required-features = ["chrono"]

[[test]]
name = "assert_no_heap_allocations_with_structured_data"
path = "tests/assert_no_heap_allocations_with_structured_data.rs"
harness = false
required-features = ["chrono"]

[[test]]
name = "assert_no_heap_allocations_without_structured_data"
path = "tests/assert_no_heap_allocations_without_structured_data.rs"
harness = false
required-features = ["chrono"]

[dependencies.chrono]
version = "0.4.44"
features = ["clock"]
optional = true
default-features = false

[dev-dependencies.arrayvec]
version = "0.7.4"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.dhat]
version = "0.3.2"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.log]
version = "0.4.20"

[dev-dependencies.parking_lot]
version = "0.12.1"