summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokathor <zefria@gmail.com>2019-04-25 19:35:42 -0600
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-05-06 19:53:30 +0200
commite1875ae9b6dd054361d418bab669d38a827a15ad (patch)
tree023bf052203c2799eedc301dbdc2e81ca495313e
parentd2fb021c9ec0d72eefc66a1436659e7dee4dfa57 (diff)
update the version
-rw-r--r--book/src/tutorial-1.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/book/src/tutorial-1.md b/book/src/tutorial-1.md
index 3256a605..e8082125 100644
--- a/book/src/tutorial-1.md
+++ b/book/src/tutorial-1.md
@@ -1,9 +1,15 @@
# Add `bindgen` as a Build Dependency
-Declare a build-time dependency on `bindgen` by adding it to the
-`[build-dependencies]` section of our crate's `Cargo.toml` metadata file:
+First we need to declare a build-time dependency on `bindgen` by adding it to
+the `[build-dependencies]` section of our crate's `Cargo.toml` file.
+
+Please always use the latest version of `bindgen`, it has the most fixes and
+best compatibility. At the time of writing the latest bindgen is `0.49.0`, but
+you can always check [the bindgen page of
+crates.io](https://crates.io/crates/bindgen) to verify the latest version if
+you're unsure.
```toml
[build-dependencies]
-bindgen = "0.42.2"
+bindgen = "0.49.0"
```