{"id":21102740,"url":"https://github.com/adambudziak/shuffle","last_synced_at":"2025-07-17T08:39:27.095Z","repository":{"id":35141597,"uuid":"212155412","full_name":"adambudziak/shuffle","owner":"adambudziak","description":"Various shuffling algorithms for rust","archived":false,"fork":false,"pushed_at":"2022-03-19T09:07:38.000Z","size":26,"stargazers_count":4,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T05:40:08.747Z","etag":null,"topics":["mix","rust","shuffle"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adambudziak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-01T17:18:09.000Z","updated_at":"2022-04-08T07:11:23.000Z","dependencies_parsed_at":"2022-08-08T05:16:12.723Z","dependency_job_id":null,"html_url":"https://github.com/adambudziak/shuffle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adambudziak/shuffle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambudziak%2Fshuffle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambudziak%2Fshuffle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambudziak%2Fshuffle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambudziak%2Fshuffle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adambudziak","download_url":"https://codeload.github.com/adambudziak/shuffle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambudziak%2Fshuffle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265586125,"owners_count":23792858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mix","rust","shuffle"],"created_at":"2024-11-19T23:56:21.651Z","updated_at":"2025-07-17T08:39:27.075Z","avatar_url":"https://github.com/adambudziak.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shuffle\nVarious shuffling algorithms for rust.\n\n## Currently implemented shuffling algorithms\n- [x] Inverse Riffle Shuffle\n- [x] Fisher-Yates\n- [ ] ... ? TODO\n\n## Examples\n\n```\nuse shuffle::shuffler::Shuffler;\nuse shuffle::irs::Irs;\nuse rand::rngs::mock::StepRng;\n\nlet mut rng = StepRng::new(2, 13);\nlet mut irs = Irs::default();\nlet mut input = vec![1, 2, 3, 4, 5];\n\nirs.shuffle(\u0026mut input, \u0026mut rng);\nassert_eq!(\u0026input, \u0026[4, 1, 5, 3, 2]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambudziak%2Fshuffle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadambudziak%2Fshuffle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambudziak%2Fshuffle/lists"}