google/comprehensive-rust

Explicitly call out dev-dependencies used in solutions

クローズ

#1,290 opened on 2023/10/02

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (2,009 件のフォーク)batch import
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (32,954 個のスター)
PR merge metrics
 (平均マージ 9d 23h) (30d で 36 merged PRs)

説明

From https://github.com/google/comprehensive-rust/pull/1288#issuecomment-1743131185: the safe FFI wrapper solution does not actually work when you copy-paste it into a new Cargo project. The problem is that the unit tests rely on tempfile.

We need to fix this: I suggest adding some text to the solution which shows the cargo add commands to run. Alternatively, we could {{#include ...}} the Cargo.toml file — but I fear this will become messy since all solutions currently share a single Cargo.toml file. We could perhaps split them up further?

コントリビューターガイド