mars-xlog 0.1.0-preview.2

Pure Rust xlog library with async/sync appenders, compression, encryption, and tracing integration.
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 = "2021"
rust-version = "1.85"
name = "mars-xlog"
version = "0.1.0-preview.2"
authors = ["xlog-rs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust xlog library with async/sync appenders, compression, encryption, and tracing integration."
homepage = "https://github.com/fannnzhang/xlog-rs"
documentation = "https://docs.rs/mars-xlog"
readme = "README.md"
keywords = [
    "logging",
    "xlog",
    "tracing",
    "mobile",
    "rust",
]
categories = [
    "development-tools::debugging",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/fannnzhang/xlog-rs"

[package.metadata.docs.rs]
features = [
    "macros",
    "tracing",
]
no-default-features = false

[features]
default = ["rust-backend"]
macros = []
metrics = [
    "dep:metrics",
    "mars-xlog-core?/metrics",
]
metrics-prometheus = [
    "dep:metrics-exporter-prometheus",
    "metrics",
]
rust-backend = [
    "dep:mars-xlog-core",
    "dep:chrono",
]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]

[lib]
name = "mars_xlog"
crate-type = ["rlib"]
path = "src/lib.rs"

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

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

[[bench]]
name = "criterion_write_path"
path = "benches/criterion_write_path.rs"
harness = false

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
optional = true
default-features = false

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.libc]
version = "0.2"

[dependencies.mars-xlog-core]
version = "0.1.0-preview.2"
optional = true

[dependencies.metrics]
version = "0.22"
optional = true

[dependencies.metrics-exporter-prometheus]
version = "0.13"
optional = true

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "std",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tempfile]
version = "3"