mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
The `console-subscriber` feature was added in https://github.com/sigp/lighthouse/pull/7529. However, the names of the running tasks are blank: <img width="780" alt="image" src="https://github.com/user-attachments/assets/73332a03-20c6-43ba-b810-3d0a898bb236" /> Set the task name using `tokio::task::Builder`, which is availble when the `tokio_unstable` is enabled. <img width="924" alt="image" src="https://github.com/user-attachments/assets/26bdac1a-348b-4f83-84b0-adfd2ba3a8cb" />
16 lines
437 B
TOML
16 lines
437 B
TOML
[package]
|
|
name = "task_executor"
|
|
version = "0.1.0"
|
|
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
|
edition = { workspace = true }
|
|
|
|
[dependencies]
|
|
async-channel = { workspace = true }
|
|
futures = { workspace = true }
|
|
metrics = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
|
tracing = { workspace = true }
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(tokio_unstable)"] }
|