Commit Graph
11 Commits
Author SHA1 Message Date
steven-omaha 0c38728e14 fix: docstring lint 2024-04-24 20:14:42 +02:00
steven-omaha 1268df3628 fix(backend): docstring 2024-04-24 20:11:24 +02:00
steven-omaha b7bbb37511 fix(core): track unmanaged packages once 2024-04-24 20:08:27 +02:00
ripytide 17e42ca435 Backend trait refactors
- Refactor the confusing/bodgy consts backend macro to use a single
  `BackendInfo` struct
- Combine `supports_as_dependency()` and the `switches_dependency` into a single `Option` type as that is a better representation as it is an optional backend feature.
- Add more types like `Packages`, `Sections` for uniformity.
- Added a crate-private prelude and switches all imports to use a
  prelude glob import (excluding functions because it's nice to only be
  importing types)
- Refactored Backend section name in logging by implementing Display for
  `AnyBackend` that just prints the `section`
2024-04-24 17:03:42 +01:00
ripytide 2ad00c3cdc switched to custom zero-dependency logger implementation 2024-04-23 15:26:52 +01:00
ripytide c290247c7a logging refactor 2024-04-23 14:56:36 +01:00
steven-omaha e9c3cec6d8 refact(config)!: use toml instead of yaml
serde_yaml is deprecated and archived. We should not depend on that.
Therefore switching to toml.

Fixes #76.
2024-04-23 12:22:23 +02:00
ripytide a5880f614e declarative cli and core: refactor 2024-04-22 16:59:23 +01:00
ripytide df5b229d23 major overhaul of Backend from dynamic to static dispatch using an big enum 2024-04-22 14:08:53 +01:00
ripytide 636a7a02ec fix typos and release checklist 2024-04-14 17:21:05 +01:00
ripytide b473f8e432 restructure project into a virtual manifest
- remove redundant readme
- de-duplicate Cargo.toml information using workspace inheritance
- rename "pacdef_core" to "pacdef"
- move "crates/main/main.rs" to "crates/pacdef/src/main.rs"
2024-04-13 14:37:12 +01:00