mirror of
https://github.com/vhaudiquet/ecrou.git
synced 2026-11-12 22:22:44 +00:00
The engine's dlopen of libkrunfw and mke2fs's of libarchive use bare sonames, and dyld reads DYLD_FALLBACK_LIBRARY_PATH once, at process startup — a setenv afterwards is invisible to it. When the variable is unset and the brew kegs exist, the CLI sets it and execv's itself: exec restarts dyld, which reads the variable fresh. Library consumers set the variable before their process starts instead (SPEC.md).
29 lines
592 B
TOML
29 lines
592 B
TOML
[package]
|
|
name = "ecrou-cli"
|
|
description = "Enter one-shot microVM environments"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
|
|
[[bin]]
|
|
name = "ecrou"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
ecrou = { path = "../ecrou" }
|
|
|
|
# CLI parsing
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
|
|
# Error handling
|
|
anyhow = "1"
|
|
|
|
# Logging facade; the stderr sink lives in src/logger.rs
|
|
log = { version = "0.4", features = ["std"] }
|
|
|
|
# Progress bar rendering of library progress events
|
|
indicatif = "0.18"
|