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§
- build
- buildpack_
dependency_ graph - buildpack_
kind - cargo
- cross_
compile - dependency_
graph - output
- package
- package_
descriptor - util
Enums§
- Cargo
Profile - The profile to use when invoking Cargo.
- Find
Cargo Workspace Root Error
Functions§
- find_
buildpack_ dirs - Recursively walks the file system from the given
start_dir
to locate any folders containing abuildpack.toml
file. - find_
cargo_ workspace_ root_ dir - 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
.