{"id":63287,"library":"permutohedron","title":"Permutohedron","description":"Generate permutations of sequences using lexicographic order or Heap's algorithm.","status":"active","version":"0.2.4","language":"rust","source_language":null,"source_url":"https://github.com/bluss/permutohedron","tags":["permutations","combinatorics","algorithm","sequence"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npermutohedron = \"0.2.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add permutohedron","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Heap","correct":"use permutohedron::Heap;"}],"quickstart":{"code":"use permutohedron::Heap;\n\nlet mut data = vec![1, 2, 3];\nlet heap = Heap::new(&mut data);\nfor permutation in heap {\n    println!(\"{:?}\", permutation);\n}","lang":"rust","description":"Iterate over all permutations of a vector using Heap's algorithm."},"warnings":[],"env_vars":null,"search_vec":"'algorithm':12,15 'combinator':14 'generat':2 'heap':10 'lexicograph':7 'order':8 'permut':3,13 'permutohedron':1 'sequenc':5,16 'use':6","created_at":"2026-06-17T16:42:08.209355+00:00","updated_at":"2026-06-17T16:42:08.209355+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/bluss/permutohedron","github":"https://github.com/bluss/permutohedron","docs":"https://docs.rs/permutohedron/","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}}