{"id":15749581,"url":"https://github.com/ksxgithub/text-block-macros","last_synced_at":"2026-03-04T16:02:36.875Z","repository":{"id":37958780,"uuid":"355863727","full_name":"KSXGitHub/text-block-macros","owner":"KSXGitHub","description":"Create a multiline string literal","archived":false,"fork":false,"pushed_at":"2025-02-24T17:36:14.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T18:32:38.665Z","etag":null,"topics":["crate","library","literal","macros","multiline","no-std","rust","rust-patterns","string"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/text-block-macros","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/KSXGitHub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":null,"patreon":"khai96_","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-04-08T10:34:58.000Z","updated_at":"2025-02-24T17:36:08.000Z","dependencies_parsed_at":"2024-10-25T05:14:11.498Z","dependency_job_id":"f9be4079-c893-4020-b355-58edb0951444","html_url":"https://github.com/KSXGitHub/text-block-macros","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":"0.16666666666666663","last_synced_commit":"79f175fb47dcd2ff2a796ec9cad249312faec6c3"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Ftext-block-macros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Ftext-block-macros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Ftext-block-macros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Ftext-block-macros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KSXGitHub","download_url":"https://codeload.github.com/KSXGitHub/text-block-macros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243414532,"owners_count":20287137,"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":["crate","library","literal","macros","multiline","no-std","rust","rust-patterns","string"],"created_at":"2024-10-04T06:03:31.192Z","updated_at":"2025-10-17T03:32:25.916Z","avatar_url":"https://github.com/KSXGitHub.png","language":"Rust","readme":"# Text Block Macros\n\n[![Test](https://github.com/KSXGitHub/text-block-macros/workflows/Test/badge.svg)](https://github.com/KSXGitHub/text-block-macros/actions?query=workflow%3ATest)\n[![Crates.io Version](https://img.shields.io/crates/v/text-block-macros?logo=rust)](https://crates.io/crates/text-block-macros)\n\nCreate a multiline string literal.\n\n## Usage Examples\n\n### Create a block of text without final newline\n\n```rust\nuse text_block_macros::text_block;\nlet text = text_block! {\n  \"abc\"\n  \"def\"\n  \"ghi\"\n};\nassert_eq!(text, \"abc\\ndef\\nghi\");\n```\n\n### Create a block of text that ends with a newline\n\n```rust\nuse text_block_macros::text_block_fnl;\nlet text = text_block_fnl! {\n  \"abc\"\n  \"def\"\n  \"ghi\"\n};\nassert_eq!(text, \"abc\\ndef\\nghi\\n\");\n```\n\n## License\n\n[MIT](https://git.io/JYptO) © [Hoàng Văn Khải](https://github.com/KSXGitHub/).\n","funding_links":["https://patreon.com/khai96_"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxgithub%2Ftext-block-macros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksxgithub%2Ftext-block-macros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxgithub%2Ftext-block-macros/lists"}