mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
docs(LIB): Add dependencies to README
In the section that describes setting up the Cargo.toml, add the required dependencies, and note that `hyper` and `hyper-rustls` are not the latest versions. This helps new users get started quicker and easier.
This commit is contained in:
committed by
Sebastian Thiel
parent
4ba9dbd03c
commit
7a041ecf2d
@@ -177,6 +177,14 @@ To use this library, you would put the following lines into your `Cargo.toml` fi
|
||||
```toml
|
||||
[dependencies]
|
||||
${util.crate_name()} = "*"
|
||||
# This project intentionally uses an old version of Hyper. See
|
||||
# https://github.com/Byron/google-apis-rs/issues/173 for more
|
||||
# information.
|
||||
hyper = "^0.10"
|
||||
hyper-rustls = "^0.6"
|
||||
serde = "^1.0"
|
||||
serde_json = "^1.0"
|
||||
yup-oauth2 = "^1.0"
|
||||
```
|
||||
|
||||
${'##'} A complete example
|
||||
|
||||
Reference in New Issue
Block a user