{"id":17670556,"url":"https://github.com/danakj/dynpath","last_synced_at":"2025-05-12T13:11:09.374Z","repository":{"id":62444349,"uuid":"485222819","full_name":"danakj/dynpath","owner":"danakj","description":"An attribute macro to specify a path to a module dynamically.","archived":false,"fork":false,"pushed_at":"2022-09-16T21:58:25.000Z","size":1243,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-28T20:06:47.022Z","etag":null,"topics":["bindgen"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danakj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-25T04:30:39.000Z","updated_at":"2025-04-03T14:52:26.000Z","dependencies_parsed_at":"2022-11-01T22:30:44.282Z","dependency_job_id":null,"html_url":"https://github.com/danakj/dynpath","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danakj%2Fdynpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danakj%2Fdynpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danakj%2Fdynpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danakj%2Fdynpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danakj","download_url":"https://codeload.github.com/danakj/dynpath/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745163,"owners_count":21957317,"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":["bindgen"],"created_at":"2024-10-24T02:22:55.904Z","updated_at":"2025-05-12T13:11:08.289Z","avatar_url":"https://github.com/danakj.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dynpath\n\n[Documentation](https://docs.rs/dynpath)\n\nThis crate provides a `#[dynpath()]` macro that can be placed on a `mod`\nstatement, and which points the module to a dynamic path.\n\nThe primary purpose of this crate is to include bindgen-generated bindings\nwithout an `include!()` statement. This allows for code completion and\ncross-references.\n\nThe macro takes a single parameter which is the name of an environment variable\nto read the path from, and it appends the module name and `.rs` extension onto\nthe contents of the variable.\n\n## Example\n```rs\n// Turns into `#[path = \"whatever/is/in/OUT_DIR/bindings.rs\"]`.\n#[dynpath(\"OUT_DIR\")]\nmod bindings;\n```\n\n# License\nThis project is licensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n  https://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in dynpath by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanakj%2Fdynpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanakj%2Fdynpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanakj%2Fdynpath/lists"}