monerochan-build 5.2.7

Build an MONEROCHAN program.
docs.rs failed to build monerochan-build-5.2.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: monerochan-build-5.2.12

monerochan-build

Lightweight crate used to build MONEROCHAN programs. Internal crate that is exposed to users via monerochan-cli.

Exposes build_program, which builds an MONEROCHAN program in the local environment or in a docker container with the specified parameters from BuildArgs.

Usage

use monerochan_build::build_program;

build_program(&BuildArgs::default(), Some(program_dir));

Potential Issues

If you attempt to build a program with Docker that depends on a local crate, and the crate is not in the current workspace, you may run into issues with the docker build not being able to find the crate, as only the workspace root is mounted.

error: failed to load manifest for dependency `...`

To fix this, you can either:

  1. Move the program into the workspace that contains the crate.
  2. Build the crate locally instead.