# 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.4.1"
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"]
serde-deserialize = ["serde"]

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

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

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

[[test]]
name = "container_round_trip"
path = "tests/container_round_trip.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 = "serde_deserialize"
path = "tests/serde_deserialize.rs"

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

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

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

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

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

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

[dev-dependencies.iai-callgrind]
version = "=0.16.1"

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

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

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(iai_enabled)"]
