@@ -745,6 +745,40 @@ self: super:
745745 once during the time when the timer was inactive.
746746 </para>
747747 </listitem>
748+ <listitem>
749+ <para>
750+ The <literal>rustPlatform.buildRustPackage</literal> function is split into several hooks:
751+ <package>cargoSetupHook</package> to set up vendoring for Cargo-based projects,
752+ <package>cargoBuildHook</package> to build a project using Cargo,
753+ <package>cargoInstallHook</package> to install a project using Cargo, and
754+ <package>cargoCheckHook</package> to run tests in Cargo-based projects. With this change,
755+ mixed-language projects can use the relevant hooks within builders other than
756+ <literal>buildRustPackage</literal>. However, these changes also required several API changes to
757+ <literal>buildRustPackage</literal> itself:
758+
759+ <itemizedlist>
760+ <listitem>
761+ <para>
762+ The <literal>target</literal> argument was removed. Instead, <literal>buildRustPackage</literal>
763+ will always use the same target as the C/C++ compiler that is used.
764+ </para>
765+ </listitem>
766+ <listitem>
767+ <para>
768+ The <literal>cargoParallelTestThreads</literal> argument was removed. Parallel tests are
769+ now disabled through <literal>dontUseCargoParallelTests</literal>.
770+ </para>
771+ </listitem>
772+ </itemizedlist>
773+ </para>
774+ </listitem>
775+ <listitem>
776+ <para>
777+ The <literal>rustPlatform.maturinBuildHook</literal> hook was added. This hook can be used
778+ with <literal>buildPythonPackage</literal> to build Python packages that are written in Rust
779+ and use Maturin as their build tool.
780+ </para>
781+ </listitem>
748782 </itemizedlist>
749783 </section>
750784</section>