# 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.90"
name = "lash-trace"
version = "0.1.0-alpha.72"
authors = ["Samuel Galanakis"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trace types and JSONL exporter for the lash agent runtime."
homepage = "https://samgalanakis.github.io/lash/"
documentation = "https://samgalanakis.github.io/lash/"
readme = "README.md"
keywords = [
    "lash",
    "agent",
    "trace",
    "jsonl",
    "observability",
]
categories = [
    "asynchronous",
    "development-tools::debugging",
]
license = "MIT"
repository = "https://github.com/SamGalanakis/lash"

[features]
default = []
otel = ["dep:opentelemetry"]

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.opentelemetry]
version = "0.31"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]
