{"id":21347026,"url":"https://github.com/milesq/include-url","last_synced_at":"2025-09-01T04:37:09.132Z","repository":{"id":45063330,"uuid":"326061969","full_name":"Milesq/include-url","owner":"Milesq","description":"Include Rust code from given URL","archived":false,"fork":false,"pushed_at":"2022-01-28T18:16:47.000Z","size":4,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-16T07:33:10.734Z","etag":null,"topics":["proc-macro","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Milesq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-01T21:52:41.000Z","updated_at":"2023-03-09T00:25:05.000Z","dependencies_parsed_at":"2022-08-26T10:12:03.865Z","dependency_job_id":null,"html_url":"https://github.com/Milesq/include-url","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Milesq/include-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milesq%2Finclude-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milesq%2Finclude-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milesq%2Finclude-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milesq%2Finclude-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Milesq","download_url":"https://codeload.github.com/Milesq/include-url/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milesq%2Finclude-url/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273074353,"owners_count":25040935,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["proc-macro","rust"],"created_at":"2024-11-22T02:12:23.679Z","updated_at":"2025-09-01T04:37:09.113Z","avatar_url":"https://github.com/Milesq.png","language":"Rust","readme":"# include-url\n\nThis crate provides `include_url` macro, which works like `include_str` from `std` with 2 differences\n- Data is taken from URL, not local files\n- The data from given URL is treated as a Rust code, rather than raw data\n\n\n## Examples\n```rs\nuse include_url::include_raw_url;\n\ninclude_raw_url!(\"https://raw.githubusercontent.com/Milesq/include-url/main/assets/add.rs\");\n\nfn main() {\n  println!(\"{}\", add(2, 3)); // prints 5\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilesq%2Finclude-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilesq%2Finclude-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilesq%2Finclude-url/lists"}