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"
|
2026-01-19 00:25:47 +01:00
|
|
|
description.workspace = true
|
2025-07-29 19:08:18 +02:00
|
|
|
version.workspace = true
|
|
|
|
|
authors.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
license-file.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
readme.workspace = true
|
|
|
|
|
keywords.workspace = true
|
2021-03-21 14:12:03 -03:00
|
|
|
# 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-08-19 14:30:55 +02:00
|
|
|
thiserror = "2"
|
2025-07-26 15:33:39 +02:00
|
|
|
miette = "7.6.0"
|
|
|
|
|
tracing = "0.1.37"
|
2025-08-19 14:30:55 +02:00
|
|
|
maplit = "1"
|
|
|
|
|
object = "0.37"
|
2025-08-30 18:35:41 +02:00
|
|
|
goblin = "0.8"
|
2025-08-19 14:30:55 +02:00
|
|
|
sha2 = "0.10"
|
2025-12-09 12:12:57 +01:00
|
|
|
# For SHA-1 signatures required by legacy catalog format
|
|
|
|
|
sha1 = "0.10"
|
2025-08-19 14:30:55 +02:00
|
|
|
sha3 = "0.10"
|
2021-04-19 09:35:05 -03:00
|
|
|
pest = "2.1.3"
|
2023-03-25 13:01:05 +01:00
|
|
|
pest_derive = "2.1.0"
|
2025-08-19 14:30:55 +02:00
|
|
|
strum = { version = "0.27", features = ["derive"] }
|
2024-08-14 20:02:29 +02:00
|
|
|
serde = { version = "1.0.207", features = ["derive"] }
|
|
|
|
|
serde_json = "1.0.124"
|
2025-07-29 23:14:47 +02:00
|
|
|
serde_cbor = "0.11.2"
|
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"
|
2025-08-19 22:43:50 +02:00
|
|
|
redb = { version = "3" }
|
2025-08-19 14:30:55 +02:00
|
|
|
bincode = { version = "2", features = ["serde"] }
|
|
|
|
|
rust-ini = "0.21"
|
2026-01-20 20:16:58 +01:00
|
|
|
reqwest = { version = "0.12", features = ["blocking", "json", "gzip", "deflate"] }
|
2025-08-19 14:30:55 +02:00
|
|
|
resolvo = "0.10"
|
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
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = ["redb-index"]
|
|
|
|
|
redb-index = [] # Enable redb-based index for obsoleted packages
|