{"id":16223767,"url":"https://github.com/alilleybrinker/pathbuf","last_synced_at":"2025-03-19T12:30:34.039Z","repository":{"id":65217683,"uuid":"588401505","full_name":"alilleybrinker/pathbuf","owner":"alilleybrinker","description":"A convenient macro for building PathBufs in Rust.","archived":false,"fork":false,"pushed_at":"2024-01-02T20:30:48.000Z","size":11,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T07:04:06.005Z","etag":null,"topics":["rust","rust-macro"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alilleybrinker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-01-13T02:53:04.000Z","updated_at":"2023-02-08T19:03:53.000Z","dependencies_parsed_at":"2024-10-27T20:32:55.553Z","dependency_job_id":"8e34b0a7-f376-4347-ac2a-664532f474b8","html_url":"https://github.com/alilleybrinker/pathbuf","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.2857142857142857,"last_synced_commit":"5c114003f6e7056161d34c4d917f32c98fab3ac9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilleybrinker%2Fpathbuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilleybrinker%2Fpathbuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilleybrinker%2Fpathbuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilleybrinker%2Fpathbuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alilleybrinker","download_url":"https://codeload.github.com/alilleybrinker/pathbuf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244426365,"owners_count":20450950,"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":["rust","rust-macro"],"created_at":"2024-10-10T12:20:03.684Z","updated_at":"2025-03-19T12:30:33.814Z","avatar_url":"https://github.com/alilleybrinker.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `pathbuf`\n\n`pathbuf` is a simple crate which provides the `pathbuf` macro to\nconveniently construct the Rust `PathBuf` type.\n\n## Example\n\n```rust\nuse pathbuf::pathbuf;\nuse std::path::PathBuf;\n\nfn main() {\n\tlet p = pathbuf![\"hello\", \"filename.txt\"];\n\n\tlet expected = {\n\t\tlet mut temp = PathBuf::new();\n\t\ttemp.push(\"hello\");\n\t\ttemp.push(\"filename.txt\");\n\t\ttemp\n\t};\n\n\tassert_eq!(p, expected);\n}\n```\n\n## License\n\n`pathbuf` is licensed under the Apache 2.0 license, and is itself a\nreproduction of the [`hc_pathbuf`][hc] crate found in Hipcheck, pulled out\ninto its own distinct crate for reuse.\n\n[hc]: https://github.com/mitre/hipcheck/tree/main/libs/hc_pathbuf\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falilleybrinker%2Fpathbuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falilleybrinker%2Fpathbuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falilleybrinker%2Fpathbuf/lists"}