{"id":22114946,"url":"https://github.com/mdsn/ascii-read","last_synced_at":"2025-08-10T13:13:02.999Z","repository":{"id":64288344,"uuid":"574762552","full_name":"mdsn/ascii-read","owner":"mdsn","description":"Methods to read AsciiString from BufReader instances.","archived":false,"fork":false,"pushed_at":"2022-12-06T02:51:58.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T06:20:34.755Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","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/mdsn.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":"2022-12-06T02:37:44.000Z","updated_at":"2024-04-03T01:00:29.000Z","dependencies_parsed_at":"2022-12-06T03:07:18.543Z","dependency_job_id":null,"html_url":"https://github.com/mdsn/ascii-read","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdsn/ascii-read","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsn%2Fascii-read","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsn%2Fascii-read/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsn%2Fascii-read/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsn%2Fascii-read/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsn","download_url":"https://codeload.github.com/mdsn/ascii-read/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsn%2Fascii-read/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269729294,"owners_count":24465805,"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-08-10T02:00:08.965Z","response_time":71,"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":["rust"],"created_at":"2024-12-01T12:13:17.973Z","updated_at":"2025-08-10T13:13:02.943Z","avatar_url":"https://github.com/mdsn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"ascii-read\n==========\n\nThis library provides a trait with `read_ascii_lines()` and `read_ascii_line()` methods, parallel to those of [`BufRead`], that return [`ascii::AsciiString`].\n\n[`ascii::AsciiString`]: https://docs.rs/ascii/latest/ascii/struct.AsciiString.html\n[`BufRead`]: https://doc.rust-lang.org/std/io/trait.BufRead.html\n\n```toml\n[dependencies]\nascii-read = \"0.1.0\"\n```\n\n#### Example\n\nRun this example with `cargo run --example ascii_lines`.\n\n```rust\nuse ascii_read::AsciiBufRead;\nuse std::error::Error;\nuse std::io;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn Error\u003e\u003e {\n    let handle = io::stdin().lock();\n    let mut lines = vec![];\n\n    for line in handle.ascii_lines() {\n        lines.push(line?);\n    }\n\n    println!(\"* Input provided:\");\n    for line in lines {\n        println!(\"{line}\");\n    }\n    Ok(())\n}\n```\n\n#### Dependencies\n\nThis library depends on the [`ascii`] and [`thiserror`] crates.\n\n[`ascii`]: https://docs.rs/ascii/latest/ascii/\n[`thiserror`]: https://docs.rs/thiserror/latest/thiserror/\n\n#### License\n\nLicensed under \u003ca href=\"LICENSE\"\u003eMIT license\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsn%2Fascii-read","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsn%2Fascii-read","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsn%2Fascii-read/lists"}