- Implement two-phase rollback system inspired by apt-tx project - Add package state tracking (newly_installed, upgraded, previously_installed) - Enhance both core and advanced transaction APIs with rollback methods - Add comprehensive rollback documentation in docs/rollback.md - Create rollback_demo.rs example demonstrating functionality - Update README with detailed crate usage instructions - Add rollback features to feature flags documentation - Fix import issues in advanced crate modules - Add get_installed_packages method to AptCommands - Include both crates.io and git installation options in README
42 lines
1 KiB
TOML
42 lines
1 KiB
TOML
[package]
|
|
name = "apt-dnf-bridge"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "DNF-like API for APT, with optional advanced features"
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
|
|
[dependencies]
|
|
apt-dnf-bridge-core = { path = "../apt-dnf-bridge-core" }
|
|
apt-dnf-bridge-advanced = { path = "../apt-dnf-bridge-advanced", optional = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
|
anyhow = { workspace = true }
|
|
|
|
[features]
|
|
default = [] # Core-only by default
|
|
advanced = ["apt-dnf-bridge-advanced"]
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
|
|
[[example]]
|
|
name = "basic_usage"
|
|
path = "../examples/basic_usage.rs"
|
|
|
|
[[example]]
|
|
name = "package_query"
|
|
path = "../examples/package_query.rs"
|
|
|
|
[[example]]
|
|
name = "atomicity_notes"
|
|
path = "../examples/atomicity_notes.rs"
|
|
|
|
[[example]]
|
|
name = "backend_selection"
|
|
path = "../examples/backend_selection.rs"
|
|
|
|
[[example]]
|
|
name = "rollback_demo"
|
|
path = "../examples/rollback_demo.rs"
|