All checks were successful
Run Check Script / check (pull_request) Successful in 1m59s
37 lines
1.4 KiB
TOML
37 lines
1.4 KiB
TOML
[package]
|
|
name = "example_fleet_device_enroll"
|
|
version.workspace = true
|
|
edition = "2024"
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "fleet_device_enroll"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = ["vm-rehearsal"]
|
|
# `--launch-pi-vm` and `--vm-rehearsal` flags. Enables the `kvm`
|
|
# feature on `harmony`, which pulls in libvirt (`libvirt-dev`) and
|
|
# does NOT cross-compile for arm64 (no aarch64 libvirt static libs
|
|
# in most distros). Disable this feature when building the
|
|
# enrollment binary FOR the target device:
|
|
# cargo build --release --target aarch64-unknown-linux-gnu \
|
|
# -p example_fleet_device_enroll --no-default-features
|
|
# A device-side build leaves out the rehearsal code entirely; the
|
|
# binary is enrollment-only and links with no native dependencies.
|
|
vm-rehearsal = ["harmony/kvm"]
|
|
|
|
[dependencies]
|
|
# `podman` is required even on device-side builds (the operator CRD
|
|
# definitions in `harmony::modules::fleet::operator` depend on
|
|
# `podman` types via the reconciler-contracts shape). `kvm` is the
|
|
# only feature that pulls libvirt and stays opt-in via `vm-rehearsal`.
|
|
harmony = { path = "../../harmony", default-features = false, features = ["podman"] }
|
|
harmony-fleet-deploy = { path = "../../fleet/harmony-fleet-deploy" }
|
|
harmony_types = { path = "../../harmony_types" }
|
|
tokio.workspace = true
|
|
log.workspace = true
|
|
env_logger.workspace = true
|
|
anyhow.workspace = true
|
|
clap.workspace = true
|