v0.13.0
The highlight of this release is the cargo libcnb package
changes to support compilation of both buildpacks and meta-buildpacks.
Changed
libcnb-cargo
: Thecargo libcnb package
command now supports compiling buildpacks and meta-buildpacks (#575):- When used in a buildpack directory it will compile only that buildpack.
- When used in a workspace directory it will compile all buildpacks found in subdirectories.
libcnb-package
: Changeddefault_buildpack_directory_name
to accept aBuildpackId
(#575)
Added
libcnb-cargo
- Buildpacks can reference other buildpacks within a workspace by using
uri = "libcnb:{buildpack_id}"
as a dependency entry in the buildpack's package.toml file. (#575)
- Buildpacks can reference other buildpacks within a workspace by using
libcnb-data
- Serialization / deserialization of package.toml files supported with the
Buildpackage
struct. (#575)
- Serialization / deserialization of package.toml files supported with the
libcnb-package
- Added
read_buildpackage_data
,find_buildpack_dirs
,get_buildpack_target_dir
to support packaging operations. (#575) - Added
buildpack_dependency::BuildpackDependency
,buildpack_dependency::get_local_buildpackage_dependencies
,buildpack_dependency::rewrite_buildpackage_local_dependencies
,buildpack_dependency::rewrite_buildpackage_relative_path_dependencies_to_absolute
to support Buildpack dependency handling and packaging operations. (#575) - Added
buildpack_package::BuildpackPackage
,buildpack_package::read_buildpack_package
to support libcnb.rs-based Rust packages. (#575) - Added
dependency_graph::DependencyNode
,dependency_graph::create_dependency_graph
,dependency_graph::get_dependencies
to support dependency ordering and resolution in libcnb.rs-based Rust packages. (#575)
- Added