# 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 = "dial9-trace-format"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-describing binary trace format with schema registry"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dial9-rs/dial9-tokio-telemetry"

[features]
serde = ["dep:serde"]

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

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

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

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

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

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

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

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

[dependencies.dial9-trace-format-derive]
version = "0.3.2"

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

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

[dev-dependencies.flate2]
version = "1"

[dev-dependencies.serde_json]
version = "1"

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