{"id":36223812,"url":"https://github.com/rubentalstra/xportrs","last_synced_at":"2026-01-16T01:21:08.868Z","repository":{"id":331774309,"uuid":"1130520836","full_name":"rubentalstra/xportrs","owner":"rubentalstra","description":"SAS Transport (XPT) V5/V8 format reader and writer","archived":false,"fork":false,"pushed_at":"2026-01-13T21:19:40.000Z","size":1596,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T22:54:53.348Z","etag":null,"topics":["cdisc","clinical-trials","sas","xport","xpt"],"latest_commit_sha":null,"homepage":"https://rubentalstra.github.io/xportrs/","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/rubentalstra.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-08T16:14:42.000Z","updated_at":"2026-01-13T21:19:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rubentalstra/xportrs","commit_stats":null,"previous_names":["rubentalstra/xportrs"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/rubentalstra/xportrs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubentalstra%2Fxportrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubentalstra%2Fxportrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubentalstra%2Fxportrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubentalstra%2Fxportrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubentalstra","download_url":"https://codeload.github.com/rubentalstra/xportrs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubentalstra%2Fxportrs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cdisc","clinical-trials","sas","xport","xpt"],"created_at":"2026-01-11T05:02:42.213Z","updated_at":"2026-01-13T22:55:01.624Z","avatar_url":"https://github.com/rubentalstra.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\".github/logo.svg\" alt=\"xportrs logo\" width=\"140\" /\u003e\n\n# xportrs\n\n**Pure Rust SAS XPORT (XPT) library for CDISC clinical trial data submissions**\n\n[![Crates.io](https://img.shields.io/crates/v/xportrs.svg)](https://crates.io/crates/xportrs)\n[![Documentation](https://docs.rs/xportrs/badge.svg)](https://docs.rs/xportrs)\n[![CI](https://github.com/rubentalstra/xportrs/actions/workflows/ci.yml/badge.svg)](https://github.com/rubentalstra/xportrs/actions/workflows/ci.yml)\n[![dependency status](https://deps.rs/repo/github/rubentalstra/xportrs/status.svg)](https://deps.rs/repo/github/rubentalstra/xportrs)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![DOI](https://zenodo.org/badge/1130520836.svg)](https://doi.org/10.5281/zenodo.18219718)\n\n\u003c/div\u003e\n\nA safe, DataFrame-agnostic implementation of SAS Transport v5 (XPT) file I/O with built-in regulatory compliance validation for FDA, PMDA, and NMPA submissions.\n\n## Features\n\n- **Regulatory Compliance** — Built-in validation for FDA, PMDA, and NMPA submission requirements\n- **Read \u0026 Write** — Full support for SAS Transport v5 format\n- **Auto File Splitting** — Automatically splits files exceeding agency size limits (5 GB)\n- **Framework Agnostic** — Works with any in-memory data representation\n- **Safe by Design** — Zero unsafe code, no C dependencies\n\n## Regulatory Agency Support\n\n| Agency   | Region        | Character Encoding | Max File Size |\n|----------|---------------|--------------------|---------------|\n| **FDA**  | United States | ASCII              | 5 GB          |\n| **PMDA** | Japan         | UTF-8 (Japanese)   | 5 GB          |\n| **NMPA** | China         | UTF-8 (Chinese)    | 5 GB          |\n\nAll agencies enforce: 8-byte variable names, 40-byte labels, 200-byte character values.\n\n## Installation\n\n```toml\n[dependencies]\nxportrs = \"0.0.8\"\n```\n\n## Quick Example\n\n```rust\nuse xportrs::{Xpt, Agency};\n\nfn main() -\u003e Result\u003c(), xportrs::Error\u003e {\n    // Read an XPT file\n    let dataset = Xpt::read(\"dm.xpt\")?;\n\n    // Write with FDA compliance validation\n    Xpt::writer(dataset)\n        .agency(Agency::FDA)\n        .finalize()?\n        .write_path(\"dm.xpt\")?;\n\n    Ok(())\n}\n```\n\nFor comprehensive examples and API documentation, see [docs.rs/xportrs](https://docs.rs/xportrs).\n\n## Documentation\n\n- [API Reference](https://docs.rs/xportrs) — Full API documentation\n- [Examples](examples/README.md) — Code examples for reading, writing, and validation\n- [CONTRIBUTING](CONTRIBUTING.md) — Contribution guidelines\n\n## Safety \u0026 Quality\n\n| Aspect                  | Status                    |\n|-------------------------|---------------------------|\n| Unsafe Code             | `#![forbid(unsafe_code)]` |\n| External C Dependencies | None                      |\n| Minimum Rust Version    | 1.92                      |\n\n## Related Projects\n\n- [xportr](https://github.com/atorus-research/xportr) — R package that inspired this crate\n- [Trial Submission Studio](https://github.com/rubentalstra/trial-submission-studio) — Desktop application using xportrs\n\n## License\n\nMIT License — see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubentalstra%2Fxportrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubentalstra%2Fxportrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubentalstra%2Fxportrs/lists"}