dial9-core 0.5.0

Telemetry event bus for dial9
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"
name = "dial9-core"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Telemetry event bus for dial9"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dial9-rs/dial9"

[package.metadata.docs.rs]
features = ["pipeline"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
_shuttle = [
    "dep:shuttle",
    "pipeline",
]
pipeline = [
    "tokio/rt",
    "tokio/time",
    "tokio/macros",
    "dep:tokio-util",
    "dep:futures-util",
    "dep:flate2",
]
test-util = []

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

[dependencies.arc-swap]
version = "1"

[dependencies.bon]
version = "3"

[dependencies.bytes]
version = "1"

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

[dependencies.dial9-trace-format]
version = "0.5.0"

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

[dependencies.futures-util]
version = "0.3"
features = [
    "alloc",
    "std",
]
optional = true
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.metrique]
version = "0.1.28"

[dependencies.metrique-timesource]
version = "0.1"

[dependencies.shuttle]
version = "0.9.1"
optional = true

[dependencies.tokio]
version = "1"
features = ["sync"]
default-features = false

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

[dependencies.tracing]
version = "0.1.44"

[dependencies.ulid]
version = "1"

[dev-dependencies.assert2]
version = "0.4"

[dev-dependencies.dial9-trace-format]
version = "0.5.0"
features = ["serde-deserialize"]

[dev-dependencies.metrique-timesource]
version = "0.1"
features = [
    "custom-timesource",
    "tokio",
    "test-util",
]

[dev-dependencies.metrique-writer]
version = "0.1"
features = ["test-util"]

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

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

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

[dev-dependencies.tokio]
version = "1.52.0"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "test-util",
]

[lints.rust]
missing_debug_implementations = "warn"

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