summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
```