Scaffold Cargo workspace: alkstore core + sqlite/postgres engine stubs (ADR-001)
This commit is contained in:
1 parent
49743c690e
commit
34e0b9732d
10 files changed
+1074
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: scaffold-workspace
|
||||
name: Cargo workspace scaffold (three crates per ADR-001)
|
||||
status: pending
|
||||
status: completed
|
||||
depends_on: []
|
||||
scope: narrow
|
||||
risk: low
|
||||
@@ -63,8 +63,35 @@ outside tests, no comments in code (doc comments on public API fine).
|
||||
|
||||
## Notes
|
||||
|
||||
> To be filled by implementation agent
|
||||
- Edition **2024** with `resolver = "3"` (the task left "2 or 3 per
|
||||
edition" open): wave 2 ports honker-core — an edition-2024 crate —
|
||||
into `alkstore-sqlite` as a module subtree (ADR-011/013); a 2021
|
||||
workspace would force an edition down-migration of the forked lineage
|
||||
for no benefit. rusqlite 0.40 already forces rustc ≥ 1.99, so no new
|
||||
toolchain floor is introduced.
|
||||
- Family conventions copied from alknet/alktty: repository URL
|
||||
`https://git.alk.dev/alkdev/alkstore`, `Cargo.lock` committed,
|
||||
`.gitignore` of `target/` + `.worktrees/`. LICENSE-MIT/LICENSE-APACHE
|
||||
files at repo root are **not** added here — they belong with the
|
||||
release-readiness/publish-prep work (wave 6), matching the repo's
|
||||
no-honest-artifact-yet posture; the manifests already declare the
|
||||
license field per the task spec.
|
||||
- Engine manifests pin the core path dependency with the version field
|
||||
set per ADR-017 §4.1 carrier 1:
|
||||
`alkstore = { version = "0.1", path = "../alkstore" }`.
|
||||
- `alkstore-postgres` carries tokio with `rt-multi-thread` + `macros`
|
||||
features (a usable runtime + `#[tokio::test]` out of the box); the
|
||||
acceptance criterion permits tokio on the postgres side only.
|
||||
- No CI wiring added, per docs/plans/implementation.md (manual CI).
|
||||
|
||||
## Summary
|
||||
|
||||
> To be filled on completion
|
||||
Workspace scaffold complete: root `Cargo.toml` (resolver 3, shared
|
||||
`[workspace.package]`: version 0.1.0 placeholder, edition 2024, MIT OR
|
||||
Apache-2.0, repository) with three members — `alkstore` (empty lib,
|
||||
zero dependencies), `alkstore-sqlite` (core path pin + rusqlite ^0.40
|
||||
`bundled`), `alkstore-postgres` (core path pin + tokio + tokio-postgres
|
||||
0.7 + deadpool-postgres 0.14). All acceptance criteria verified:
|
||||
`cargo build` compiles all three; dependency trees confirmed via
|
||||
`cargo tree`; versioned core pins present in both engine manifests;
|
||||
clippy `-D warnings` and `cargo fmt --check` clean.
|
||||
Reference in new issue
Block a user