cargo-zoo

Crates.iocargo-zoo
lib.rscargo-zoo
version0.1.2
created_at2025-09-12 11:02:15.589395+00
updated_at2025-09-13 01:35:19.217274+00
descriptionA tool for OS development
homepagehttps://github.com/zzjrabbit/racaOS/tree/edition19/zoo
repositoryhttps://github.com/zzjrabbit/racaOS
max_upload_size
id1835548
size298,836
Zeng Zhenjia (zzjrabbit)

documentation

README

Zoo

Zoo is a OS development tool. It automatically generates a virtual disk image and runs qemu. This project is inspired by osdk

Configuration

Configurations should be written in zoo.toml.

Example:

[build]
kernel_crate = "kernel"
profile = "dev"
features = []

[qemu]
args = []
hw_virt = true # enables hardware virtualization
serial_target = "stdio"
smp_cores = 2 # number of cores to use
memory_size = 1m

Subcommands

build

Builds the virtual disk image.

  • --profile <profile_name> Sets the profile to use.
  • --release Builds the kernel in release mode.
  • --features <feature_name> Builds the kernel with the specified feature.
  • --no-default-features Builds the kernel without default features.
  • --config KEY=VALUE Override the configurations in zoo.toml.

run

Runs the virtual machine.

This command shares most of the options with the build command.

Commit count: 10

cargo fmt