{"id":65202,"library":"trt","title":"Trt","description":"Tokio global runtime helper.","status":"active","version":"0.1.29","language":"rust","source_language":null,"source_url":"https://github.com/i18n-site/srv","tags":["tokio","runtime","async","global"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntrt = \"0.1.29\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add trt","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Runtime","correct":"use trt::Runtime;"}],"quickstart":{"code":"use trt::Runtime;\nfn main() {\n    let rt = Runtime::new().unwrap();\n    rt.block_on(async {\n        println!(\"Hello from tokio runtime\");\n    });\n}","lang":"rust","description":"Creates a new Tokio runtime using trt."},"warnings":[{"fix":"Add tokio = { version = \"1\", features = [\"rt\"] } to Cargo.toml.","message":"Requires tokio as a dependency with the 'rt' feature.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'async':8 'global':3,9 'helper':5 'runtim':4,7 'tokio':2,6 'trt':1","created_at":"2026-06-17T17:06:57.546774+00:00","updated_at":"2026-06-17T17:06:57.546774+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/i18n-site/srv/tree/main/rust/lib/trt","github":"https://github.com/i18n-site/srv","docs":"https://docs.rs/trt/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}