- ✅ Successfully compiled with apt-pkg-native for Debian Trixie compatibility - ✅ Replaced rust-apt with apt-pkg-native to resolve C++ standard issues - ✅ Simplified project structure: removed unused binaries, focused on core functionality - ✅ Basic commands working: help, list, search, info - ✅ Created apt_compat.rs compatibility layer - ✅ Updated debian packaging for libapt-pkg7.0 compatibility - ✅ Removed complex dependencies and simplified main.rs - 🎯 Next: Implement core package management commands (install, remove, upgrade) - 🎯 Architecture: Ready for atomic package management with OSTree integration
102 lines
1.9 KiB
TOML
102 lines
1.9 KiB
TOML
[package]
|
|
name = "apt-ostree"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Debian/Ubuntu equivalent of rpm-ostree"
|
|
license = "GPL-3.0-or-later"
|
|
repository = "https://github.com/your-org/apt-ostree"
|
|
keywords = ["apt", "ostree", "debian", "ubuntu", "package-management"]
|
|
categories = ["system", "command-line-utilities"]
|
|
|
|
[dependencies]
|
|
# APT integration - using apt-pkg-native for better Debian Trixie compatibility
|
|
apt-pkg-native = "0.3.3"
|
|
|
|
# OSTree integration
|
|
ostree = "0.20.3"
|
|
|
|
# System and FFI
|
|
libc = "0.2"
|
|
pkg-config = "0.3"
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde_yaml = "0.9"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Logging and output
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Command line argument parsing
|
|
clap = { version = "4.0", features = ["derive"] }
|
|
|
|
# Async runtime
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
futures = "0.3"
|
|
|
|
# File system operations
|
|
walkdir = "2.4"
|
|
|
|
# D-Bus serialization
|
|
erased-serde = "0.3"
|
|
|
|
# Time handling
|
|
zbus = "3.14"
|
|
async-io = "1.13"
|
|
|
|
# Temporary file handling
|
|
tempfile = "3.8"
|
|
|
|
# Terminal size detection
|
|
term_size = "0.3"
|
|
|
|
# JSONPath filtering
|
|
jsonpath-rust = "0.1"
|
|
|
|
# Regular expressions
|
|
regex = "1.0"
|
|
|
|
# Lazy static initialization
|
|
lazy_static = "1.4"
|
|
|
|
# UUID generation
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
|
|
# Cryptographic hashing for OCI
|
|
sha2 = "0.10"
|
|
dbus = "0.9"
|
|
sha256 = "1.0"
|
|
|
|
[build-dependencies]
|
|
pkg-config = "0.3"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
|
|
[[bin]]
|
|
name = "apt-ostree"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "apt-ostreed"
|
|
path = "src/bin/apt-ostreed.rs"
|
|
|
|
[[bin]]
|
|
name = "apt-ostree-monitoring"
|
|
path = "src/bin/monitoring-service.rs"
|
|
|
|
[[bin]]
|
|
name = "demo-oci-build"
|
|
path = "demo-oci-build.rs"
|