timber_rust 1.0.0

A high-performance, asynchronous logging library with support for Grafana Loki and AWS CloudWatch.
# 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 = "timber_rust"
version = "1.0.0"
authors = ["Dante Doménech Martinez <dante19031999@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, asynchronous logging library with support for Grafana Loki and AWS CloudWatch."
homepage = "https://dante19031999.github.io/timber-rust/timber_rust/index.html"
documentation = "https://docs.rs/timber-rust"
readme = "README.md"
keywords = [
    "logging",
    "loki",
    "cloudwatch",
    "aws",
    "async",
]
categories = [
    "development-tools::debugging",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/dante19031999/timber-rust"

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

[features]
aws = [
    "dep:aws-config",
    "dep:aws-sdk-cloudwatchlogs",
    "dep:aws-credential-types",
    "tokio",
    "serde_tools",
    "json",
]
default = ["json"]
json = ["dep:serde_json"]
loki = [
    "network",
    "json",
    "serde_tools",
]
network = ["dep:reqwest"]
serde_tools = []
tokio = ["dep:tokio"]

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

[[test]]
name = "logger_impl_integration"
path = "tests/logger_impl_integration.rs"

[[test]]
name = "loki_integration"
path = "tests/loki_integration.rs"

[dependencies.aws-config]
version = ">=1.8.15"
optional = true

[dependencies.aws-credential-types]
version = ">=1.2.14"
optional = true

[dependencies.aws-sdk-cloudwatchlogs]
version = ">=1.120.0"
optional = true

[dependencies.chrono]
version = ">=0.4.20"

[dependencies.crossbeam]
version = ">=0.8.0"
features = ["crossbeam-channel"]

[dependencies.reqwest]
version = ">=0.13.0"
features = ["blocking"]
optional = true

[dependencies.serde]
version = ">=1.0.200"
features = ["derive"]

[dependencies.serde_json]
version = ">=1.0.140"
optional = true

[dependencies.tokio]
version = ">=1.50.0"
features = ["rt-multi-thread"]
optional = true

[dev-dependencies.regex]
version = "1.11.1"