Binder 'Launch' fails to build image throwing an error: "Preparing metadata (pyproject.toml) did not run successfully."

Hi I am new to the process of publishing Jupyter notebooks in Binder and after trying the Launch procedure, it stops with the following error:


error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      
      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/
      
      Checking for Rust toolchain....
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

As I can not really imagine what this can be, any suggestions are welcome.
My repo contains

- .gitignore 
- requirements.txt
- README
- notebook.ipynb

If you share the link to the repo, it will be easier for people to advise you.

Just guessing on what you provide, something seems to want Rust and the Rust package manager installed. Among the example Binder repos, there is an example installing Rust and the package manager. It uses postbuild to do that, see the postBuild file here and read about that type of configuration file here.