adaptive-timeout 0.0.1-alpha.4

Adaptive timeout computation based on observed latency percentiles
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"
rust-version = "1.92.0"
name = "adaptive-timeout"
version = "0.0.1-alpha.4"
authors = ["Ahmed Farghal <me@asoli.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Adaptive timeout computation based on observed latency percentiles"
readme = "README.md"
categories = [
    "asynchronous",
    "concurrency",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/AhmedSoliman/adaptive-timeout"

[features]
default = []
schemars = ["dep:schemars"]
serde = ["dep:serde"]
sync = ["dashmap"]

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

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

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

[dependencies.dashmap]
version = "6.1"
features = ["inline"]
optional = true

[dependencies.foldhash]
version = "0.2"

[dependencies.hdrhistogram]
version = "7.5"
default-features = false

[dependencies.schemars]
version = "1"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = ["time"]
optional = true
default-features = false

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

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

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1