Devolutions / conan-rs

A Rust wrapper of the conan C/C++ package manager (conan.io) to simplify usage in build scripts
Apache License 2.0
37 stars 10 forks source link

BuildDependency: description field may be a vec of strings #5

Closed tux3 closed 4 years ago

tux3 commented 4 years ago

Hello, this is a quick PR to fix a deserialization error for packages that have long descriptions.

The description field can actually be a JSON array of strings. For example the gsl-lite package has:

      "description": [
        "A single-file header-only version of ISO C++ ",
        "Guideline Support Library (GSL) for C++98, C++11 and later"
      ],
awakecoding commented 4 years ago

I didn't know this was something you could do, it's good to know