# 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 = "2021"
name = "ckb-logger-service"
version = "0.200.0"
authors = ["Nervos <dev@nervos.org>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CKB logger and logging service."
homepage = "https://github.com/nervosnetwork/ckb"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nervosnetwork/ckb"

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

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

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

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

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

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

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

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

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

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

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

[dependencies.backtrace]
version = "0.3"

[dependencies.ckb-channel]
version = "= 0.200.0"

[dependencies.ckb-logger-config]
version = "= 0.200.0"

[dependencies.ckb-util]
version = "= 0.200.0"

[dependencies.env_logger]
version = "0.10"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1.1.6"

[dependencies.sentry]
version = "0.34.0"
features = ["log"]
optional = true

[dependencies.time]
version = "0.3.36"
features = ["formatting"]

[dependencies.yansi]
version = "0.5"

[dev-dependencies]

[features]
with_sentry = ["sentry"]