{"id":58580,"library":"tracing-chrome","title":"Tracing Chrome","description":"A Layer for tracing-subscriber that outputs Chrome-style traces, enabling performance profiling in Chrome DevTools.","status":"active","version":"0.7.2","language":"rust","source_language":null,"source_url":"https://github.com/thoren-d/tracing-chrome","tags":["tracing","profiling","chrome","performance"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntracing-chrome = \"0.7.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add tracing-chrome","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"ChromeLayerBuilder","correct":"use tracing_chrome::ChromeLayerBuilder;"}],"quickstart":{"code":"use tracing_chrome::ChromeLayerBuilder;\nuse tracing_subscriber::prelude::*;\n\nfn main() {\n    let (chrome_layer, _guard) = ChromeLayerBuilder::new().build();\n    tracing_subscriber::registry().with(chrome_layer).init();\n    tracing::info!(\"Hello, Chrome trace!\");\n}","lang":"rust","description":"Initializes a Chrome tracing layer and logs an info event."},"warnings":[{"fix":"Store the guard in a variable with a long enough lifetime, e.g., let _guard = ...;","message":"The guard must be kept alive for the duration of tracing; dropping it stops the trace.","severity":"gotcha","affected_versions":">=0.7.0"}],"env_vars":null,"search_vec":"'chrome':2,12,19,23 'chrome-styl':11 'devtool':20 'enabl':15 'layer':4 'output':10 'perform':16,24 'profil':17,22 'style':13 'subscrib':8 'trace':1,7,14,21 'tracing-subscrib':6","created_at":"2026-06-16T16:30:00.226737+00:00","updated_at":"2026-06-16T16:30:00.226737+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/thoren-d/tracing-chrome","github":"https://github.com/thoren-d/tracing-chrome","docs":"https://docs.rs/tracing-chrome/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}