Crate libcnb_package

Source
Expand description

§libcnb-package   Docs Latest Version MSRV

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§

CargoProfile
The profile to use when invoking Cargo.
FindCargoWorkspaceRootError

Functions§

find_buildpack_dirs
Recursively walks the file system from the given start_dir to locate any folders containing a buildpack.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.