Document the line that needs to go in build-dependencies
diff --git a/README.md b/README.md
index 59bcdac..78a62a2 100644
--- a/README.md
+++ b/README.md
@@ -215,6 +215,13 @@
[`cc::Build`]: https://docs.rs/cc/1.0/cc/struct.Build.html
+```toml
+# Cargo.toml
+
+[build-dependencies]
+cxx-build = "0.2"
+```
+
```rust
// build.rs
diff --git a/src/lib.rs b/src/lib.rs
index 7e8e9ec..f97ab96 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -220,6 +220,13 @@
//!
//! [`cc::Build`]: https://docs.rs/cc/1.0/cc/struct.Build.html
//!
+//! ```toml
+//! # Cargo.toml
+//!
+//! [build-dependencies]
+//! cxx-build = "0.2"
+//! ```
+//!
//! ```no_run
//! // build.rs
//!