fjord-core (0.1.1)
Published 2026-06-19 15:52:33 +00:00 by stephen
Installation
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add fjord-core@0.1.1 --registry forgejoAbout this package
Shared product/domain layer for Fjord clients (see fjord-architecture ADR 0001).
fjord-core
The shared product/domain layer for Fjord clients: the single home of product workflows above the generated Forgejo clients.
Native shells consume it directly as a crate (fj, Linux) or via UniFFI
(Apple, Android, Windows). It owns account/session management, issue/PR/actions/
review workflows, the stacked-PR engine, the notifications + sync engine, the
offline cache, and repository state. It never imports a UI or OS-UI type; the
shell injects secrets (token provider) and OS handles (cache dir).
See rasterstate/fjord-architecture:
- ADR 0001 — shared-core architecture (why this exists, the migration plan).
- ADR 0002 — FFI surface & versioning policy.
Status
Phase 0 scaffold. Module skeleton mirrors the ADR boundary; modules are stubs to
be filled in Phases 1-2. core_version() is the runtime version surfaced to
shells for the compatibility floor (ADR 0002).
Develop
cargo test
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all
Dependencies
| ID | Version |
|---|---|
| rusqlite | ^0.32 |
| serde | ^1.0.228 |
| serde_json | ^1.0.150 |
| thiserror | ^2.0.18 |
| uniffi | ^0.28 |