{"id":16687854,"url":"https://github.com/thealgorythm/cargo-dylib","last_synced_at":"2025-04-24T06:04:21.575Z","repository":{"id":191703726,"uuid":"560000762","full_name":"TheAlgorythm/cargo-dylib","owner":"TheAlgorythm","description":"A cargo wrapper POC for faster compilation of dependencies as dynamic libraries.","archived":false,"fork":false,"pushed_at":"2023-09-21T08:56:44.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"MAIN","last_synced_at":"2025-04-24T06:04:14.044Z","etag":null,"topics":["cargo","cargo-subcommand","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheAlgorythm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-31T14:38:05.000Z","updated_at":"2023-09-29T15:26:13.000Z","dependencies_parsed_at":"2023-08-31T08:47:27.467Z","dependency_job_id":"d0db3658-ebc0-4b1b-ac20-71d90595bfca","html_url":"https://github.com/TheAlgorythm/cargo-dylib","commit_stats":null,"previous_names":["thealgorythm/cargo-dylib"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorythm%2Fcargo-dylib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorythm%2Fcargo-dylib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorythm%2Fcargo-dylib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorythm%2Fcargo-dylib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorythm","download_url":"https://codeload.github.com/TheAlgorythm/cargo-dylib/tar.gz/refs/heads/MAIN","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573354,"owners_count":21452351,"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","cargo-subcommand","rust"],"created_at":"2024-10-12T15:25:23.995Z","updated_at":"2025-04-24T06:04:21.556Z","avatar_url":"https://github.com/TheAlgorythm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cargo-dylib\n\nA cargo wrapper proof of concept for faster compilation of dependencies as dynamic libraries.\nFor incremental builds the linking of dynamic libraries is much faster then building a static binary as described in [this](https://robert.kra.hn/posts/2022-09-09-speeding-up-incremental-rust-compilation-with-dylibs/) blog post.\nIt works a bit like [`cargo-add-dynamic`](https://lib.rs/crates/cargo-add-dynamic), but doesn't alter the `Cargo.toml` in order to have a single source of truth for both fast incremental debug builds and release builds.\nIt does so by reading the `Cargo.toml`, laying out a shadow project structure and executes the command with a pointer to the shadow metadata.\n\nAs this is just a proof of concept it won't generate dylibs recursively yet.\n\n## TODOs\n\n- [ ] Workspace support\n- [ ] Treat shared subdependencies as dylibs (recursive)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthealgorythm%2Fcargo-dylib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthealgorythm%2Fcargo-dylib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthealgorythm%2Fcargo-dylib/lists"}