[package] name = "pi_logger" version = "0.2.1" edition = "2021" authors = ["yineng "] description = "pi_logger" repository = "https://github.com/GaiaWorld/pi_logger.git" license = "MIT OR Apache-2.0" keywords = ["pi", "logger"] [dependencies] log4rs = "1.0.0" log = "0.4.14" parking_lot = "0.12" serde = "1.0" anyhow = "1.0.28" derivative = "2.1.1" regex = "1" async_httpc = {version = "0.5", package = "pi_async_httpc", path = "../pi_net/crates/async_httpc"} pi-async-rt = "0.1" crossbeam-channel = "0.5" lazy_static = "1.4" chrono = "0.4" thread-id = "3.3.0" serde_json = "1.0.65" opentelemetry = { version = "0.18.0", features = ["rt-tokio"] } opentelemetry-otlp = { version = "0.11.0", features = ["tls", "tls-roots", "metrics"] } tracing = "0.1.37" tracing-opentelemetry = "0.18.0" tracing-subscriber = "0.3.16" tracing-attributes = "0.1.23" tonic={version = "0.8.2", features = ["tls"]} url = "2.2.0" tokio = { version = "1.0", features = ["full"] } [[example]] name = "log_to_file"