{"id":57744,"library":"rug","title":"Rug","description":"Arbitrary-precision integers, rational, floating-point and complex numbers based on GMP, MPFR and MPC.","status":"active","version":"1.29.0","language":"rust","source_language":null,"source_url":"https://gitlab.com/tspiteri/rug","tags":["arbitrary-precision","gmp","mpfr","mpc","numbers"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrug = \"1.29.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rug","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Integer","correct":"use rug::Integer;"}],"quickstart":{"code":"use rug::Integer;\n\nfn main() {\n    let a = Integer::from(123456789);\n    let b = Integer::from(987654321);\n    let product = a * b;\n    println!(\"Product: {}\", product);\n}","lang":"rust","description":"Arbitrary-precision integer multiplication."},"warnings":[{"fix":"Install the required libraries (e.g., libgmp-dev, libmpfr-dev, libmpc-dev on Debian/Ubuntu).","message":"Requires GMP, MPFR, and MPC libraries to be installed on the system.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'arbitrari':3,20 'arbitrary-precis':2,19 'base':13 'complex':11 'float':8 'floating-point':7 'gmp':15,22 'integ':5 'mpc':18,24 'mpfr':16,23 'number':12,25 'point':9 'precis':4,21 'ration':6 'rug':1","created_at":"2026-06-16T15:55:47.525746+00:00","updated_at":"2026-06-16T15:55:47.525746+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://gitlab.com/tspiteri/rug","github":null,"docs":"https://docs.rs/rug/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["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}}