Files
One-KVM/Cross.toml
mofeng-git e670f1ffd1 refactor: 升级依赖版本并优化构建系统
- 升级核心依赖 (axum 0.8, tower-http 0.6, alsa 0.11 等)
- 简化交叉编译配置,切换至 Debian 11 提高兼容性
- 新增 Debian 包打包支持 (debuerreotype 模板)
- 移除独立的 mjpeg 解码器,简化视频模块
- 静态链接 libx264/libx265/libopus 到二进制
2026-01-10 10:59:00 +08:00

17 lines
504 B
TOML

# Cross-compilation configuration for One-KVM
# Uses pre-built custom Debian 11 based images for consistent build/runtime environment
# See: https://github.com/cross-rs/cross
[build]
# Default Docker image settings
default-target = "x86_64-unknown-linux-gnu"
[target.x86_64-unknown-linux-gnu]
dockerfile = "build/cross/Dockerfile.x86_64"
[target.aarch64-unknown-linux-gnu]
dockerfile = "build/cross/Dockerfile.arm64"
[target.armv7-unknown-linux-gnueabihf]
dockerfile = "build/cross/Dockerfile.armv7"