{"id":62611,"library":"topological-sort","title":"Topological Sort","description":"Performs topological sorting.","status":"active","version":"0.2.2","language":"rust","source_language":null,"source_url":"https://github.com/gifnksm/topological-sort-rs","tags":["graph","algorithm","sorting"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntopological-sort = \"0.2.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add topological-sort","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"TopologicalSort","correct":"use topological_sort::TopologicalSort;"}],"quickstart":{"code":"use topological_sort::TopologicalSort;\n\nlet mut ts = TopologicalSort::new();\nts.add_dependency(\"A\", \"B\");\nlet sorted = ts.pop_all();\nprintln!(\"{:?}\", sorted);","lang":"rust","description":"Performs topological sorting on a directed acyclic graph."},"warnings":[],"env_vars":null,"search_vec":"'algorithm':7 'graph':6 'perform':3 'sort':2,5,8 'topolog':1,4","created_at":"2026-06-17T16:33:26.033490+00:00","updated_at":"2026-06-17T16:33:26.033490+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/gifnksm/topological-sort-rs","github":"https://github.com/gifnksm/topological-sort-rs","docs":"https://docs.rs/topological-sort/","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}}