2021-03-21 14:12:03 -03:00
|
|
|
# This Source Code Form is subject to the terms of
|
|
|
|
|
# the Mozilla Public License, v. 2.0. If a copy of the
|
|
|
|
|
# MPL was not distributed with this file, You can
|
|
|
|
|
# obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
|
|
[package]
|
|
|
|
|
name = "libips"
|
2021-09-04 23:58:43 -03:00
|
|
|
version = "0.1.2"
|
2021-03-21 14:12:03 -03:00
|
|
|
authors = ["Till Wegmueller <till.wegmueller@openflowlabs.com>"]
|
|
|
|
|
edition = "2018"
|
2021-04-24 23:29:45 -03:00
|
|
|
license-file = "../LICENSE"
|
2021-03-21 14:12:03 -03:00
|
|
|
description = "The core library for the rust version of the Image Packaging System. Includes Python bindings."
|
|
|
|
|
repository = "https://github.com/OpenFlowLabs/libips"
|
2021-04-24 23:29:19 -03:00
|
|
|
readme = "../README.md"
|
2021-03-21 14:12:03 -03:00
|
|
|
keywords = ["packaging", "illumos"]
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2022-06-06 20:14:34 +00:00
|
|
|
regex = "1.5.5"
|
2025-07-26 15:33:39 +02:00
|
|
|
thiserror = "1.0.50"
|
|
|
|
|
miette = "7.6.0"
|
|
|
|
|
tracing = "0.1.37"
|
2021-04-13 22:20:43 -03:00
|
|
|
maplit = "0.1.6"
|
|
|
|
|
object = "0.23.0"
|
|
|
|
|
sha2 = "0.9.3"
|
2021-04-19 09:35:05 -03:00
|
|
|
sha3 = "0.9.1"
|
|
|
|
|
pest = "2.1.3"
|
2023-03-25 13:01:05 +01:00
|
|
|
pest_derive = "2.1.0"
|
|
|
|
|
strum = { version = "0.24.1", features = ["derive"] }
|
2024-08-14 20:02:29 +02:00
|
|
|
serde = { version = "1.0.207", features = ["derive"] }
|
|
|
|
|
serde_json = "1.0.124"
|
2025-07-21 22:37:08 +02:00
|
|
|
flate2 = "1.0.28"
|
|
|
|
|
lz4 = "1.24.0"
|
2025-07-22 14:10:37 +02:00
|
|
|
semver = { version = "1.0.20", features = ["serde"] }
|
|
|
|
|
diff-struct = "0.5.3"
|
2025-07-24 00:28:33 +02:00
|
|
|
chrono = "0.4.41"
|
2025-07-26 15:33:39 +02:00
|
|
|
tempfile = "3.20.0"
|
2025-07-27 19:48:52 +02:00
|
|
|
walkdir = "2.4.0"
|
Introduce obsoleted package management system in IPS
- Add `obsoleted.rs` module to handle storing, metadata management, and operations for obsoleted packages.
- Implement commands for marking, listing, searching, restoring, exporting, and importing obsoleted packages (`pkg6repo`).
- Enhance `RepositoryError` with `From` implementations for various error types to manage database and serialization-related errors.
- Introduce reusable data structures for obsoleted package metadata and export representation.
- Update `Cargo.toml` and `Cargo.lock` to include new dependencies (`redb`, `bincode`, etc.).
- Document obsoleted package workflow and integration details in `doc/obsoleted_packages.md` for contributors.
- Refactor repository internals to integrate obsoleted package support without disrupting existing workflow.
- Add robust error handling, logging, and pagination for enhanced usability and scalability.
2025-07-29 16:16:12 +02:00
|
|
|
redb = "1.5.0"
|
|
|
|
|
bincode = "1.3.3"
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = ["redb-index"]
|
|
|
|
|
redb-index = [] # Enable redb-based index for obsoleted packages
|