{"id":16876425,"url":"https://github.com/staktrace/quoted-printable","last_synced_at":"2025-03-22T07:31:53.789Z","repository":{"id":45936036,"uuid":"59925267","full_name":"staktrace/quoted-printable","owner":"staktrace","description":"Quoted-printable decoder in Rust","archived":false,"fork":false,"pushed_at":"2023-06-23T03:41:11.000Z","size":915,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-24T15:48:28.312Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staktrace.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-29T03:53:18.000Z","updated_at":"2024-06-21T15:22:23.630Z","dependencies_parsed_at":"2024-06-21T15:22:21.727Z","dependency_job_id":"6101c81d-0eb5-47b1-8f91-c9552211b5db","html_url":"https://github.com/staktrace/quoted-printable","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fquoted-printable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fquoted-printable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fquoted-printable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fquoted-printable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staktrace","download_url":"https://codeload.github.com/staktrace/quoted-printable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244925178,"owners_count":20532873,"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":[],"created_at":"2024-10-13T15:39:25.331Z","updated_at":"2025-03-22T07:31:53.407Z","avatar_url":"https://github.com/staktrace.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"quoted-printable\n===\n![Build Status](https://github.com/staktrace/quoted-printable/actions/workflows/test.yml/badge.svg)\n[![Crate](https://img.shields.io/crates/v/quoted_printable.svg)](https://crates.io/crates/quoted_printable)\n\nA quoted-printable decoder and encoder.\n\nAPI\n---\nquoted-printable exposes three functions at the moment:\n\n```rust\n    decode\u003cR: AsRef\u003c[u8]\u003e\u003e(input: R, mode: ParseMode) -\u003e Result\u003cVec\u003cu8\u003e, QuotedPrintableError\u003e\n    encode\u003cR: AsRef\u003c[u8]\u003e\u003e(input: R) -\u003e Vec\u003cu8\u003e\n    encode_to_str\u003cR: AsRef\u003c[u8]\u003e\u003e(input: R) -\u003e String\n```\n\nusing `R: AsRef\u003c[u8]\u003e` means that you can pass in a variety of types, including:\n`String`, `\u0026String`, `\u0026str`, `Vec\u003cu8\u003e`, `\u0026Vec\u003cu8\u003e`, `\u0026[u8]`, `Box\u003c[u8]\u003e`, `Arc\u003c[u8]\u003e`\n\n\nThe decode function can be used to convert a quoted-printable string into the decoded bytes, as per the description in [IETF RFC 2045, section 6.7](https://tools.ietf.org/html/rfc2045#section-6.7).\nThe ParseMode option can be used to control whether the decoding is \"strict\" or \"robust\", as per the comments in that RFC.\nIn general you should probably use \"robust\" decoding, as it will gracefully handle more malformed input.\n\nThe encode and encode_to_str functions obviously do the reverse, and convert a set of raw bytes into quoted-printable.\n\nno_std\n---\n\nThis crate supports no_std. By default the crate targets std via the `std` feature. You can deactivate the `default-features`  to support `no_std` like this:\n\n```toml\nquoted-printable = { version = \"*\", default-features = false }\n```\n\nDocumentation\n---\nSee document on [https://docs.rs](https://docs.rs/quoted_printable/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaktrace%2Fquoted-printable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaktrace%2Fquoted-printable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaktrace%2Fquoted-printable/lists"}