0
0

More than 1 year has passed since last update.

Shopify Workshopsで遭遇したerror[E0432]: unresolved import `serde_with`の解決策

Posted at

Shopify Workshops (https://shopify.github.io/workshops) のUse Rust to create a Shopify Discount Functionにてcargo testを走らせる場面で

error[E0432]: unresolved import `serde_with`

に遭遇。

以下の公式文書を参考に解決しました。

serde_withというcrateが追加されていなかったのが原因なので

cargo add serde_with

serde_withCargo.tomlに追加。

再度cargo testを試したところ走ったのでこれで解決です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0