112a9d9c8Sopenharmony_ci# Add `bindgen` as a Build Dependency 212a9d9c8Sopenharmony_ci 312a9d9c8Sopenharmony_ciFirst we need to declare a build-time dependency on `bindgen` by adding it to 412a9d9c8Sopenharmony_cithe `[build-dependencies]` section of our crate's `Cargo.toml` file. 512a9d9c8Sopenharmony_ci 612a9d9c8Sopenharmony_ciPlease always use the latest version of `bindgen`, it has the most fixes and 712a9d9c8Sopenharmony_cibest compatibility. At the time of writing the latest bindgen is `0.53.1`, but 812a9d9c8Sopenharmony_ciyou can always check [the bindgen page of 912a9d9c8Sopenharmony_cicrates.io](https://crates.io/crates/bindgen) to verify the latest version if 1012a9d9c8Sopenharmony_ciyou're unsure. 1112a9d9c8Sopenharmony_ci 1212a9d9c8Sopenharmony_ci```toml 1312a9d9c8Sopenharmony_ci[build-dependencies] 1412a9d9c8Sopenharmony_cibindgen = "0.53.1" 1512a9d9c8Sopenharmony_ci``` 16