Crate libcnb_package
source ·Expand description
§libcnb-package
A library for cross-compiling and packaging buildpacks written with libcnb.rs.
This is an internal crate and should not be used by users directly. There are no stability guarantees for its API.
In most cases you should use libcnb-cargo and/or libcnb-test, rather than depending on this crate directly.
Modules§
Enums§
- The profile to use when invoking Cargo.
Functions§
- Recursively walks the file system from the given
start_dir
to locate any folders containing abuildpack.toml
file. - Returns the path of the root workspace directory for a Rust Cargo project. This is often a useful starting point for detecting buildpacks with
find_buildpack_dirs
.