{"id":74954,"library":"dnum","title":"Dnum","description":"Numeric traits for generic programming.","status":"active","version":"0.1.0","language":"rust","source_language":null,"source_url":"https://github.com/Daggerbot/aurum","tags":["numeric","traits","generics","math"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ndnum = \"0.1.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add dnum","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Num","correct":"use dnum::Num;"}],"quickstart":{"code":"use dnum::Num;\n\nfn add<T: Num>(a: T, b: T) -> T {\n    a + b\n}\n\nfn main() {\n    println!(\"Sum: {}\", add(3, 4));\n}","lang":"rust","description":"Defines a generic add function using the Num trait."},"warnings":[],"env_vars":null,"search_vec":"'dnum':1 'generic':5,9 'math':10 'numer':2,7 'program':6 'trait':3,8","created_at":"2026-06-17T19:10:19.233326+00:00","updated_at":"2026-06-17T19:10:19.233326+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/Daggerbot/aurum","github":"https://github.com/Daggerbot/aurum","docs":"https://docs.rs/dnum/","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-17","next_check":"2026-12-14","install_tag":null}}