truefix-log 0.1.4

FIX logging (screen/file/tracing/composite).
Documentation
# 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"
rust-version = "1.96"
name = "truefix-log"
version = "0.1.4"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FIX logging (screen/file/tracing/composite)."
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/truefix-labs/truefix"
resolver = "2"

[features]
mongodb = ["dep:mongodb"]
mssql = [
    "dep:tiberius",
    "dep:tokio-util",
]
redb = ["dep:redb"]
sql = ["dep:sqlx"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.metrics]
version = "0.24"

[dependencies.mongodb]
version = "3"
optional = true

[dependencies.redb]
version = "4"
optional = true

[dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "sqlite",
    "postgres",
    "mysql-rsa",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tiberius]
version = "0.12"
features = [
    "rustls",
    "tds73",
]
optional = true
default-features = false

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
    "macros",
]

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies.metrics-util]
version = "0.20"
features = ["debugging"]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]
default-features = false

[lints.rust]
unsafe_code = "forbid"