{"id":60033,"library":"cudarc","title":"Cudarc","description":"Safe and minimal CUDA bindings for Rust.","status":"active","version":"0.19.6","language":"rust","source_language":null,"source_url":"https://github.com/chelsea0x3b/cudarc","tags":["cuda","gpu","bindings","safe"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncudarc = \"0.19.6\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add cudarc","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"CudaDevice","correct":"use cudarc::driver::CudaDevice;"}],"quickstart":{"code":"use cudarc::driver::CudaDevice;\n\nfn main() -> Result<(), Box<dyn std::error::Error>> {\n    let dev = CudaDevice::new(0)?;\n    println!(\"Device: {}\", dev.name()?);\n    Ok(())\n}","lang":"rust","description":"Initializes a CUDA device and prints its name."},"warnings":[{"fix":"Install CUDA toolkit and ensure a CUDA-capable GPU is available.","message":"Requires CUDA toolkit and compatible GPU.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'bind':6,11 'cuda':5,9 'cudarc':1 'gpu':10 'minim':4 'rust':8 'safe':2,12","created_at":"2026-06-16T17:25:07.681870+00:00","updated_at":"2026-06-16T17:25:07.681870+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/chelsea0x3b/cudarc","github":"https://github.com/chelsea0x3b/cudarc","docs":"https://docs.rs/cudarc/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"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}}