{"id":24369996,"url":"https://github.com/unikraft/lib-rust","last_synced_at":"2025-04-10T17:33:30.044Z","repository":{"id":100240965,"uuid":"411741705","full_name":"unikraft/lib-rust","owner":"unikraft","description":"Rust Language Runtime on Unikraft","archived":false,"fork":false,"pushed_at":"2024-01-02T20:56:17.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"staging","last_synced_at":"2025-03-24T15:11:15.410Z","etag":null,"topics":["cargo","library","rust","toml","unikraft","unikraft-library"],"latest_commit_sha":null,"homepage":"","language":null,"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/unikraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-09-29T16:04:42.000Z","updated_at":"2025-02-27T23:01:50.000Z","dependencies_parsed_at":"2023-05-17T12:31:22.597Z","dependency_job_id":"d6b37f95-397f-4f42-b4a0-03e0d9ac6287","html_url":"https://github.com/unikraft/lib-rust","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unikraft","download_url":"https://codeload.github.com/unikraft/lib-rust/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261995,"owners_count":21074229,"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","library","rust","toml","unikraft","unikraft-library"],"created_at":"2025-01-19T04:11:42.507Z","updated_at":"2025-04-10T17:33:30.008Z","avatar_url":"https://github.com/unikraft.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Cargo support for Unikraft\n===================\nThis library provides the necessary build rules to integrate Cargo projects into unikraft.\n\nTo add a cargo project simply add the `toml` file in the `Makefile.uk` of the library/application.\n\n`APP_SRCS-y += $(APP_BASE)/cargo_project/Cargo.toml`\n\nThe crate should be set to `staticlib` in the `toml` file:\n\n```\n[lib]\ncrate-type = [\"staticlib\"]\n```\n\nAnd you should add the unikrat internal rust library as a dependency:\n\n```\n[dependencies]\nukrust = { path = \"../../../unikraft/lib/ukrust/\" }\n```\n\nFinally, include the unikraft crate (for the panic handler and basic rust functionalities)\n\n```\nuse ukrust;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funikraft%2Flib-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funikraft%2Flib-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funikraft%2Flib-rust/lists"}