libdd-sampling 2.0.0

Core sampling logic for Datadog tracing
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.87.0"
name = "libdd-sampling"
version = "2.0.0"
authors = ["Datadog Inc. <info@datadoghq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core sampling logic for Datadog tracing"
homepage = "https://github.com/DataDog/libdatadog/tree/main/libdd-sampling"
readme = false
license = "Apache-2.0"
repository = "https://github.com/DataDog/libdatadog/tree/main/libdd-sampling"

[features]
bench-internals = []
v04_span = ["dep:libdd-trace-utils"]

[lib]
name = "libdd_sampling"
path = "src/lib.rs"
bench = false

[[bench]]
name = "sampling_bench"
path = "benches/sampling_bench.rs"
harness = false
required-features = ["v04_span"]

[[bench]]
name = "glob_matcher_bench"
path = "benches/glob_matcher_bench.rs"
harness = false
required-features = ["bench-internals"]

[dependencies.libdd-common]
version = "4.2.0"
default-features = false

[dependencies.libdd-trace-utils]
version = "6.0.0"
optional = true

[dependencies.lru]
version = "0.16.3"

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

[dependencies.serde_json]
version = "1.0"

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

[dev-dependencies.libdd-common]
version = "4.2.0"
features = ["bench-utils"]