# 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 = "neon-log"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "log toolkit"
readme = false
license = "MIT"
repository = "https://github.com/noble-gase/neon-rs"

[features]
default = []
sls = [
    "dep:aliyun-log-rust-sdk",
    "dep:aliyun-log-sdk-protobuf",
]

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

[dependencies.aliyun-log-rust-sdk]
version = "0.3"
optional = true

[dependencies.aliyun-log-sdk-protobuf]
version = "0.1"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
    "sync",
    "macros",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "registry",
    "fmt",
]
