Skip to content
[package]
name = "void-logger"
version = "0.1.0"
edition = "2024"
description = "A lightweight console and Void ingestion logger backend for the log facade."
license-file = "LICENSE"
repository = "https://fig.silenlocatelli.ch/silen/void"
homepage = "https://fig.silenlocatelli.ch/silen/void"
documentation = "https://docs.rs/void-logger"
readme = "README.md"
keywords = ["logging", "logger", "void", "backend", "stderr"]
categories = ["development-tools::debugging", "development-tools::profiling"]

[dependencies]
log = { version = "0.4", features = ["std"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4", features = ["serde"] }
minreq = "2.11"
void-common = { path = "../void-common", version = "0.1.0" }

# Optional compression / serialization formats
zstd = { version = "0.13", optional = true }
flate2 = { version = "1.0", optional = true }
rmp-serde = { version = "1.3", optional = true }

[features]
default = ["zstd", "gzip", "msgpack"]
zstd = ["dep:zstd"]
gzip = ["dep:flate2"]
msgpack = ["dep:rmp-serde"]