{"id":15032251,"url":"https://github.com/lautis/rscsv","last_synced_at":"2025-04-09T21:23:08.376Z","repository":{"id":56892789,"uuid":"90798631","full_name":"lautis/rscsv","owner":"lautis","description":"Experiments combining Ruby, Rust, and CSV","archived":false,"fork":false,"pushed_at":"2019-03-31T11:12:27.000Z","size":79,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T23:15:49.441Z","etag":null,"topics":["csv","ruby","rust"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/lautis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-09T22:48:15.000Z","updated_at":"2023-06-07T20:37:26.000Z","dependencies_parsed_at":"2022-08-21T01:20:51.406Z","dependency_job_id":null,"html_url":"https://github.com/lautis/rscsv","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frscsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frscsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frscsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frscsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lautis","download_url":"https://codeload.github.com/lautis/rscsv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801160,"owners_count":20998339,"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":["csv","ruby","rust"],"created_at":"2024-09-24T20:17:49.550Z","updated_at":"2025-04-09T21:23:08.353Z","avatar_url":"https://github.com/lautis.png","language":"Ruby","readme":"# Rscsv\n\nFast CSV using Rust extensions. Can read arrays of arrays from strings and write\nstrings from arrays of arrays.\n\n[![Build Status](https://travis-ci.org/lautis/rscsv.svg?branch=master)](https://travis-ci.org/lautis/rscsv)\n\n## Installation\n\nThis gem requires Rust (~\u003e 1.17) and Cargo to be installed. With those\nrequirements fulfilled, rscsv can be installed like any other gem:\n\n```\ngem install rscsv\n```\n\n## Usage\n\n```ruby\nrequire 'rscsv'\n\nRscsv::Writer.generate_lines([['1', '2', '3'], ['3', '4', '5']])\n# =\u003e 1,2,3\\n4,5,6\\n\nRscsv::Writer.generate_line(['1', '2', '3'])\n# =\u003e 1,2,3\\n\n\nRscsv::Reader.parse(\"1,2,3\\n4,5,6\\n\")\n# =\u003e [[\"1\", \"2\", \"3\"], [\"4\", \"5\", \"6\"]]\n\n# Streaming from Enumerator\nRscsv::Reader.each([\"1,2,3\\n\",\"4,5,6\\n\"].each) do |row|\n  # yields [\"1\", \"2\", \"3\"] and [\"4\", \"5\", \"6\"]\nend\n```\n\nThis is ~3x faster than using native Ruby `CSV.generate` or `CSV.parse`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flautis%2Frscsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flautis%2Frscsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flautis%2Frscsv/lists"}