# 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.89.0"
name = "logforth-core"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core structs and functions for Logforth."
homepage = "https://github.com/fast/logforth"
readme = "README.md"
keywords = [
    "logging",
    "log",
]
categories = ["development-tools::debugging"]
license = "Apache-2.0"
repository = "https://github.com/fast/logforth"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

[dependencies.anyhow]
version = "1.0"

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

[lints.clippy]
dbg_macro = "deny"

[lints.rust]
unknown_lints = "deny"
unused_must_use = "deny"
