1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-14 17:35:55 +00:00

Initial commit: krust - container image build tool for Rust

krust builds container images for Rust applications without Docker:
- Builds static binaries using musl libc
- Creates minimal OCI container images
- Pushes to any OCI-compliant registry
- Outputs digest to stdout for composability

Inspired by ko.build for Go applications.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jason Hall 2025-06-07 20:46:08 -04:00
commit 5e89023925
Failed to extract signature
23 changed files with 1611 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[target.x86_64-unknown-linux-musl]
linker = "x86_64-linux-musl-gcc"
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
[target.armv7-unknown-linux-musleabihf]
linker = "armv7-linux-musleabihf-gcc"

View file

@ -0,0 +1,6 @@
[package]
name = "hello-krust"
version = "0.1.0"
edition = "2021"
[dependencies]

View file

@ -0,0 +1,4 @@
fn main() {
println!("Hello from krust example!");
println!("This is running inside a container built with krust.");
}