# 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 = "hyperlane-log"
version = "4.0.4"
authors = ["root@ltpp.vip"]
build = false
exclude = [
"target",
"Cargo.lock",
"sh",
".github",
"logs",
"**/*.log",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust logging library that supports both asynchronous and synchronous logging. It provides multiple log levels, such as error, info, and debug. Users can define custom log handling methods and configure log file paths. The library supports log rotation, automatically creating a new log file when the current file reaches the specified size limit. It allows flexible logging configurations, making it suitable for both high-performance asynchronous applications and traditional synchronous logging scenarios. The asynchronous mode utilizes Tokio's async channels for efficient log buffering, while the synchronous mode writes logs directly to the file system."
readme = "README.md"
keywords = [
"http",
"request",
"response",
"tcp",
"redirect",
]
categories = [
"network-programming",
"web-programming",
"development-tools",
]
license = "MIT"
repository = "https://github.com/hyperlane-dev/hyperlane-log.git"
[lib]
name = "hyperlane_log"
path = "src/lib.rs"
[dependencies.file-operation]
version = "0.8.17"
[dependencies.hyperlane-time]
version = "0.7.21"
[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]
[profile.dev]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"