{"id":15401155,"url":"https://github.com/sunfishcode/basic-text","last_synced_at":"2025-10-10T04:05:48.063Z","repository":{"id":43151725,"uuid":"318052932","full_name":"sunfishcode/basic-text","owner":"sunfishcode","description":"Basic Text strings and I/O streams","archived":false,"fork":false,"pushed_at":"2024-09-06T03:45:29.000Z","size":541,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-09T07:06:36.754Z","etag":null,"topics":["plain","text"],"latest_commit_sha":null,"homepage":"https://basic-text.sunfishcode.online","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunfishcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-03T02:35:44.000Z","updated_at":"2025-08-29T12:16:08.000Z","dependencies_parsed_at":"2024-10-01T15:56:47.347Z","dependency_job_id":"593daf74-f88a-47b3-ac43-2c23ac15ec03","html_url":"https://github.com/sunfishcode/basic-text","commit_stats":{"total_commits":377,"total_committers":1,"mean_commits":377.0,"dds":0.0,"last_synced_commit":"33c35538b2bf36e6a4a56c100bec1c6c2aa9dc00"},"previous_names":[],"tags_count":83,"template":false,"template_full_name":null,"purl":"pkg:github/sunfishcode/basic-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fbasic-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fbasic-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fbasic-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fbasic-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunfishcode","download_url":"https://codeload.github.com/sunfishcode/basic-text/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fbasic-text/sbom","scorecard":{"id":858579,"data":{"date":"2025-08-11","repo":{"name":"github.com/sunfishcode/basic-text","commit":"be876426b192fadbead1af96ee8071b104ce44fa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.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":"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/main.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sunfishcode/basic-text/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/sunfishcode/basic-text/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/sunfishcode/basic-text/main.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned 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":"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":10,"reason":"project is fuzzed","details":["Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/text.rs:4"],"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Warn: project license file does not contain an FSF or OSI license."],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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-24T00:36:08.766Z","repository_id":43151725,"created_at":"2025-08-24T00:36:08.766Z","updated_at":"2025-08-24T00:36:08.766Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002684,"owners_count":26083441,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["plain","text"],"created_at":"2024-10-01T15:56:38.669Z","updated_at":"2025-10-10T04:05:48.024Z","avatar_url":"https://github.com/sunfishcode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003ccode\u003ebasic-text\u003c/code\u003e\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eBasic Text strings and I/O streams\u003c/strong\u003e\n  \u003c/p\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/sunfishcode/basic-text/actions?query=workflow%3ACI\"\u003e\u003cimg src=\"https://github.com/sunfishcode/basic-text/workflows/CI/badge.svg\" alt=\"Github Actions CI Status\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/basic-text\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/basic-text.svg\" alt=\"crates.io page\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://docs.rs/basic-text\"\u003e\u003cimg src=\"https://docs.rs/basic-text/badge.svg\" alt=\"docs.rs docs\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\nThis repository hosts a project to define a text format called [Basic Text], a\nsubset of Unicode that focuses on *text*: it excludes unprintable control\ncharacters, characters which depend on out-of-band information to interpret,\nnon-characters, deprecated characters, and more, while aiming to preserve\neverything of practical use to plain text and formats built on top of it. See\nthe [Book] for more information.\n\nIt also includes a Rust crate which aims to implement the Basic Text format,\nproviding several utilities:\n\n - [`TextString`] and [`TextStr`] are similar to the standard library's\n   [`String`] and [`str`], but use the Basic Text string format, along with a\n   [`text!(\"...\")` macro] for Basic Text string literals.\n\n - [`TextReader`] and [`TextWriter`] are input and output streams which use the\n   Basic Text stream format. On input, content is converted in a way which is\n   lossy with respect to the original bytestream. Output uses the \"strict\"\n   conversion method, in which invalid content is diagnosed with errors.\n\n - [`BufReadText`], an extension trait that adds [`text_lines`] and\n   [`text_lines_lossy`] to [`BufRead`] implementations for reading lines\n   from an input stream as `BasicText` strings.\n\n - [`TextDuplexer`] is a [`Duplex`] for reading and writing on an interactive\n   stream using Basic Text.\n\nThe code here is usable, and implements everything in the [Basic Text] spec,\nbut is not very mature or optimized yet.\n\n[`TextString`]: https://docs.rs/basic-text/latest/basic_text/struct.TextString.html\n[`TextStr`]: https://docs.rs/basic-text/latest/basic_text/struct.TextStr.html\n[`TextReader`]: https://docs.rs/basic-text/latest/basic_text/struct.TextReader.html\n[`TextWriter`]: https://docs.rs/basic-text/latest/basic_text/struct.TextWriter.html\n[`TextDuplexer`]: https://docs.rs/basic-text/latest/basic_text/struct.TextDuplexer.html\n[`BufReadText`]: https://docs.rs/basic-text/latest/basic_text/trait.BufReadText.html\n[`text!(\"...\")` macro]: https://docs.rs/basic-text/latest/basic_text/macro.text.html\n[`text_lines`]: https://docs.rs/basic-text/latest/basic_text/trait.BufReadText.html#method.text_lines\n[`text_lines_lossy`]: https://docs.rs/basic-text/latest/basic_text/trait.BufReadText.html#method.text_lines_lossy\n[`str`]: https://doc.rust-lang.org/std/primitive.str.html\n[`String`]: https://doc.rust-lang.org/std/string/struct.String.html\n[`BufRead`]: https://doc.rust-lang.org/std/io/trait.BufRead.html\n[`Duplex`]: https://docs.rs/duplex/latest/duplex/trait.Duplex.html\n[Basic Text]: docs/BasicText.md\n[Book]: https://basic-text.sunfishcode.online\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfishcode%2Fbasic-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunfishcode%2Fbasic-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfishcode%2Fbasic-text/lists"}