-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
33 lines (29 loc) · 965 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "tide-tracing"
version = "0.1.1"
authors = ["Ethan Brierley <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
description = """
A simple middleware for tide using the tracing crate for logging.
"""
keywords = ["tide", "tracing", "logging", "middleware", "opentelemetry"]
documentation = "https://docs.rs/tide-tracing/"
repository = "https://github.com/ethanboxx/tide-tracing"
edition = "2021"
rust-version = "1.63"
exclude = ["*.png"]
[features]
default = ["request_id"]
# Record unique `request_id` for every request
request_id = ["dep:uuid"]
[dependencies]
tide = { version = "0.16", default-features = false }
tracing = "0.1"
tracing-futures = "0.2"
async-trait = "0.1"
uuid = { version = "1.4.1", features = ["v4"], optional = true}
[dev-dependencies]
tide = { version = "0.16", default-features = false, features = ["h1-server"] }
async-std = { version = "1.9", features = ["attributes"] }
tracing-subscriber = "0.3"