From c23a1564126b9d4e5023e9050afbdd161a04e097 Mon Sep 17 00:00:00 2001 From: Etienne Cordonnier Date: Tue, 23 Aug 2022 21:49:52 +0200 Subject: [PATCH 1/2] Add minimal version of rust 1.60 Due to https://github.com/rust-lang/cargo/issues/10623, cargo-bitbake needs at least cargo 1.60 to be built. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index a748796..15ad9b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ name = "cargo-bitbake" readme = "README.md" repository = "https://github.com/cardoe/cargo-bitbake" version = "0.3.16-alpha.0" +rust-version = "1.60" [badges] is-it-maintained-issue-resolution = { repository = "cardoe/cargo-bitbake" } From 3978307432f7a95a645c2dea1a86d96d232b14bd Mon Sep 17 00:00:00 2001 From: Etienne Cordonnier Date: Tue, 23 Aug 2022 21:51:59 +0200 Subject: [PATCH 2/2] Document dependency in README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 430eea4..a939ffe 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ local crate: $ cargo bitbake Wrote: cargo-bitbake_0.1.0.bb ``` +## Dependencies + +On Debian/Ubuntu, the package librust-cargo+openssl-dev is required (available via apt install). ## Parameter Mapping | Yocto | Cargo |