LukeMathWalker / zero-to-production

Code for "Zero To Production In Rust", a book on API development using Rust.
https://www.zero2prod.com
Apache License 2.0
5.86k stars 519 forks source link

Update Cargo.toml, remove redundant reqwest dev-dependency #256

Closed abd0-omar closed 3 months ago

abd0-omar commented 8 months ago

avoid duplication as it's already in the main dependencies so no need for it in the dev-dependency

quoting the book at chapter 7.2.2 page 168 [dependencies]

[...]

We need the json feature flag to serialize/deserialize JSON payloads reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] } [dev-dependencies]

Remove reqwest's entry from this list

[...]

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.