Skip to main content

Crate alef_publish

Crate alef_publish 

Source
Expand description

Publish pipeline for alef — vendoring, building, and packaging artifacts for distribution across language package registries.

This crate provides the local logic behind alef publish prepare, alef publish build, and alef publish package. It does NOT handle registry authentication or publishing — those remain in CI actions.

Modules§

ffi_stage
FFI artifact staging — copies built shared libraries into language-specific directories for Go, Java, and C# packages.
package
Artifact packaging — creates distributable archives for each language.
platform
Rust target triple parsing and per-language platform name mapping.
vendor
Core crate vendoring — copies a Rust crate into a language package and rewrites Cargo.toml to remove workspace inheritance.

Structs§

PackageOptions
Language-specific options forwarded into individual package functions.

Functions§

build
Build release artifacts for a specific platform.
package
Package built artifacts into distributable archives.
prepare
Prepare a language package for publishing: vendor dependencies, stage FFI artifacts.
validate
Validate that all package manifests are ready for publishing.