ocipkg

cargo-doc

OCI Registry for package distribution.

Features

Examples

Why ocipkg?

I have determined to start this project while writing FFI crate in Rust. The problem is "how to get a share/static library linked to FFI crate". This is the problem bothered me and prevent from creating portable C++ library.

We have three options:

  1. Use library in the system
  2. Get source code from the internet, and build and link them
  3. Get compiled library from the internet on build time

ocipkg focuses on 3., i.e. helping distributing binary compiled by the developer through OCI registry.

Links

Open Container Initiative (OCI) is a project under Linux Foundation.

The idea that distribute binary files (not a system image) using OCI registry is based on ORAS.

Similar projects trying to distribute packages using OCI registries:

License

© 2020 Toshiki Teramura (@termoshtt)

This project is licensed under either of

at your option.