# 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 = "ftlog"
version = "0.2.16"
authors = ["Non-convex Tech"]
build = false
exclude = [
    ".standard-version",
    ".versionrc",
    ".github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
An asynchronous logging library for high performance
"""
documentation = "https://docs.rs/ftlog"
readme = "README.md"
keywords = ["logging"]
categories = ["development-tools::debugging"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nonconvextech/ftlog"

[features]
default = ["random_drop"]
random_drop = ["fastrand"]
tsc = [
    "minstant",
    "once_cell",
]

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

[[example]]
name = "custom-format"
path = "examples/custom-format.rs"

[[example]]
name = "ftlog"
path = "examples/ftlog.rs"

[[example]]
name = "lazy-bench"
path = "examples/lazy-bench.rs"

[[example]]
name = "multi-dest"
path = "examples/multi-dest.rs"

[[example]]
name = "random_drop"
path = "examples/random_drop.rs"

[[example]]
name = "stderr"
path = "examples/stderr.rs"

[[example]]
name = "string-bench"
path = "examples/string-bench.rs"

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

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

[[bench]]
name = "format"
path = "benches/format.rs"

[dependencies.arc-swap]
version = "1"

[dependencies.crossbeam-channel]
version = "0.5.0"

[dependencies.fastrand]
version = "2"
optional = true

[dependencies.foldhash]
version = "0.2"

[dependencies.log]
version = "0.4"
features = [
    "std",
    "kv",
]

[dependencies.minstant]
version = "0.1"
optional = true

[dependencies.once_cell]
version = "1"
optional = true

[dependencies.time]
version = "0.3"
features = [
    "local-offset",
    "formatting",
]

[dependencies.typed-builder]
version = "0.23"

[target.'cfg(target_family = "unix")'.dependencies.tz-rs]
version = "0.7.0"
