{"id":20667015,"url":"https://github.com/lu-zero/cdylib-link-lines","last_synced_at":"2025-04-19T17:04:45.104Z","repository":{"id":34917085,"uuid":"189741586","full_name":"lu-zero/cdylib-link-lines","owner":"lu-zero","description":"Helper to build correctly cdylibs","archived":false,"fork":false,"pushed_at":"2024-03-01T12:05:25.000Z","size":10,"stargazers_count":14,"open_issues_count":4,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-09T00:26:40.054Z","etag":null,"topics":["cargo","rust"],"latest_commit_sha":null,"homepage":null,"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/lu-zero.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}},"created_at":"2019-06-01T14:21:53.000Z","updated_at":"2024-04-22T08:07:18.000Z","dependencies_parsed_at":"2022-08-09T03:30:27.221Z","dependency_job_id":null,"html_url":"https://github.com/lu-zero/cdylib-link-lines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcdylib-link-lines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcdylib-link-lines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcdylib-link-lines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcdylib-link-lines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lu-zero","download_url":"https://codeload.github.com/lu-zero/cdylib-link-lines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224964672,"owners_count":17399434,"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":["cargo","rust"],"created_at":"2024-11-16T19:42:36.054Z","updated_at":"2024-11-16T19:42:36.540Z","avatar_url":"https://github.com/lu-zero.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# link-line helper to build correct cdylibs\n\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n## Supported targets\n\n- Linux and Android\n- macOS and iOS\n- Windows (gnu)\n\n## Usage\n\n### build.rs\n\nAdd the crate to your [build-dependencies](https://doc.rust-lang.org/cargo/reference/manifest.html#dependency-sections), in your `build.rs`, call `metabuild()`.\n\n``` toml\n[build-dependencies]\ncdylib-link-lines = \"0.1\"\n```\n\n``` rust\nfn main() {\n    cdylib_link_lines::metabuild();\n}\n```\n### metabuild\n\nIf you are using the `metabuild` [unstable feature](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#metabuild)\n\n``` toml\ncargo-features = [\"metabuild\"]\n\n[package]\nname = \"mypackage\"\n...\nmetabuild = [\"cdylib-link-lines\"]\n\n[build-dependencies]\ncdylib-link-lines = \"0.1\"\n```\n\n## Credits\n\nHelper spun off [crav1e](https://github.com/lu-zero/crav1e), contains code written by Luca Barbato and Derek Buitenhuis.\nSynchronized with the [cargo-c](https://github.com/lu-zero/cargo-c) 0.9 logic thanks to Ivan Enderlin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fcdylib-link-lines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu-zero%2Fcdylib-link-lines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fcdylib-link-lines/lists"}