shuttle-hq / synth

The Declarative Data Generator
https://www.getsynth.com/
Apache License 2.0
1.39k stars 109 forks source link

fix(build): remove the "unused manifest key" warning. #253

Closed juniorbassani closed 2 years ago

juniorbassani commented 2 years ago

At least on Linux, building the project was causing the following warnings to be issued:

warning: synth/Cargo.toml: unused manifest key: target.i686-pc-windows-msvc.rustflags warning: synth/Cargo.toml: unused manifest key: target.x86_64-pc-windows-msvc.rustflags

These configuration settings were moved from synth/Cargo.toml to synth/.cargo/config.toml as recommended in the Cargo book (https://doc.rust-lang.org/cargo/reference/config.html).

Additionally, the configuration file was renamed to config.toml, which is also recommended by the aforementioned book.