docs: Point out alternatives to 'build.rs'

This commit is contained in:
Ed Page 2021-08-18 12:01:35 -05:00
parent 13a93ab671
commit f2586c920f

View file

@ -41,7 +41,8 @@ pub use shell::Shell;
/// Generate a completions file for a specified shell at compile-time. /// Generate a completions file for a specified shell at compile-time.
/// ///
/// **NOTE:** to generate the file at compile time you must use a `build.rs` "Build Script" /// **NOTE:** to generate the file at compile time you must use a `build.rs` "Build Script" or a
/// [`cargo-xtask`]](https://github.com/matklad/cargo-xtask)
/// ///
/// # Examples /// # Examples
/// ///