{"id":15566973,"url":"https://github.com/szunami/xwords-rs","last_synced_at":"2026-03-13T08:32:11.260Z","repository":{"id":56024273,"uuid":"291567064","full_name":"szunami/xwords-rs","owner":"szunami","description":"Tools to fill crosswords","archived":false,"fork":false,"pushed_at":"2021-07-01T16:24:34.000Z","size":16836,"stargazers_count":8,"open_issues_count":12,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T03:41:26.234Z","etag":null,"topics":["cli","crossword","puzzle","rustlang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szunami.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":"2020-08-30T23:08:04.000Z","updated_at":"2025-01-18T09:54:54.000Z","dependencies_parsed_at":"2022-08-15T11:40:25.916Z","dependency_job_id":null,"html_url":"https://github.com/szunami/xwords-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szunami/xwords-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szunami%2Fxwords-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szunami%2Fxwords-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szunami%2Fxwords-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szunami%2Fxwords-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szunami","download_url":"https://codeload.github.com/szunami/xwords-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szunami%2Fxwords-rs/sbom","scorecard":{"id":864414,"data":{"date":"2025-08-11","repo":{"name":"github.com/szunami/xwords-rs","commit":"88966c89e33f0fbc52ba9c14a4ea7121a7ade44f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/bench.yml:1","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/bench.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bench.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/bench.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/bench.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bench.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/bench.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/bench.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/szunami/xwords-rs/build.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T02:17:10.781Z","repository_id":56024273,"created_at":"2025-08-24T02:17:10.781Z","updated_at":"2025-08-24T02:17:10.781Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30427889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:00:25.264Z","status":"ssl_error","status_checked_at":"2026-03-12T13:59:52.690Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","crossword","puzzle","rustlang"],"created_at":"2024-10-02T17:09:19.134Z","updated_at":"2026-03-13T08:32:11.239Z","avatar_url":"https://github.com/szunami.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xwords\n\n\u003cimg src=\"https://raw.githubusercontent.com/szunami/xwords-rs/main/xwords.png\" width=\"48\"\u003e\n\n![](https://github.com/szunami/xwords-rs/workflows/Build/badge.svg)\n[![](http://meritbadge.herokuapp.com/xwords)](https://crates.io/crates/xwords)\n\n`xwords` is a fast library that fills crossword puzzles. This repo also contains a lightweight CLI for invoking the library.\n\n### Caveat Emptor\nThis is foremost a hobbyist project for me to learn a bit about profiling and optimizing rust. I am more than happy to accept contributions or to consider feature requests, but please be aware that the future of this project is somewhat uncertain.\n\n## CLI\n\nThis command fills a grid that is stored in a local file using a default wordlist.\n\n```bash\n$ xwords --input grids/20201005_empty.txt\n\nCFS*ANGELI*ORDU\nAIA*DEEPAS*SEIN\nSCLAVONIAN*MFAS\nIKANTLETGO*ALLE\nOLDY**ROE*ANOSE\n*YOOHOOMRSBLOOM\n***FUGUE*IRIDAL\nFAA*LIS*ECO*SPY\nIMPROV*ACOOK***\nBILLIEJEANKING*\nSEUSS*IAD**CEIL\n**STTIC**ALKALI\nCITI*CACOMISTLE\nCORN*OMOLON*LIS\nCLEE*NATURA*YST\n```\nThis command runs in about 2 seconds on my machine.\n\n## Library\n\n```rust\nuse xwords::{crossword::Crossword, fill_crossword_with_default_wordlist};\n\nfn main() -\u003e Result\u003c(), String\u003e {\n    let empty_crossword = Crossword::new(String::from(\n        \"\n    *    *     \n    *    *     \n         *     \n   *   *   *   \n**    *        \n      *     ***\n     *    *    \n   *       *   \n    *    *     \n***     *      \n        *    **\n   *   *   *   \n     *         \n     *    *    \n     *    *    \n\",\n    ))?;\n    let filled_crossword = fill_crossword_with_default_wordlist(\u0026empty_crossword)?;\n    println!(\"{}\", filled_crossword);\n    Ok(())\n}\n\n/*\nZETA*TWIT*VOWEL\nETAT*IANA*EVOKE\nRINTINTIN*REVIE\nOCT*TIE*TUI*ENR\n**ATHA*TASTINGS\nTOLEAN*ILIES***\nISIAC*TEAN*STEM\nZAT*ACHATES*HRA\nAYES*SETE*TYEES\n***TUTSI*URALIC\nVENERATE*SEWA**\nORA*TRO*UES*TOA\nWISHI*NETASSETS\nETHIC*EVIL*USTO\nRUEDA*SWAL*OTSU\n*/\n```\nOn my machine, the above snippet runs in about 3 seconds.\n\nBehind the scenes, this snippet loads an indexed wordlist, and iteratively fills the input with valid words.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszunami%2Fxwords-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszunami%2Fxwords-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszunami%2Fxwords-rs/lists"}